Home
last modified time | relevance | path

Searched refs:cbio (Results 1 – 4 of 4) sorted by relevance

/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dbio_core_test.c69 BIO *cbio = NULL, *cbiobad = NULL; in test_bio_core() local
84 || !TEST_ptr((cbio = BIO_new_from_core_bio(libctx, &corebio)))) in test_bio_core()
89 || !TEST_false(BIO_eof(cbio)) in test_bio_core()
90 || !TEST_int_gt(BIO_gets(cbio, buf, sizeof(buf)), 0) in test_bio_core()
91 || !TEST_true(BIO_eof(cbio)) in test_bio_core()
96 if (!TEST_int_gt(BIO_write(cbio, msg, strlen(msg) + 1), 0) in test_bio_core()
97 || !TEST_int_gt(BIO_read(cbio, buf, sizeof(buf)), 0) in test_bio_core()
104 BIO_free(cbio); in test_bio_core()
/netbsd/src/crypto/external/bsd/openssl/dist/apps/
Docsp.c80 static int send_ocsp_response(BIO *cbio, const OCSP_RESPONSE *resp);
216 BIO *acbio = NULL, *cbio = NULL, *derbio = NULL, *out = NULL; in ocsp_main() local
660 res = do_responder(&req, &cbio, acbio, port, req_timeout); in ocsp_main()
669 send_ocsp_response(cbio, resp); in ocsp_main()
729 if (cbio != NULL) in ocsp_main()
730 send_ocsp_response(cbio, resp); in ocsp_main()
779 if (cbio != NULL) { in ocsp_main()
785 BIO_free_all(cbio); in ocsp_main()
786 cbio = NULL; in ocsp_main()
865 BIO_free_all(cbio); in ocsp_main()
[all …]
Dcmp.c2683 BIO *cbio = NULL; in cmp_server() local
2698 &cbio, acbio, &keep_alive, in cmp_server()
2716 (void)http_server_send_status(cbio, 404, "Not Found"); in cmp_server()
2727 (void)http_server_send_status(cbio, in cmp_server()
2731 ret = http_server_send_asn1_resp(cbio, keep_alive, in cmp_server()
2747 BIO_free_all(cbio); in cmp_server()
2748 cbio = NULL; in cmp_server()
2752 BIO_free_all(cbio); in cmp_server()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/store/
Dstore_lib.c991 OSSL_CORE_BIO *cbio = ossl_core_bio_new_from_bio(bp); in OSSL_STORE_attach() local
993 if (cbio == NULL in OSSL_STORE_attach()
994 || (loader_ctx = fetched_loader->p_attach(provctx, cbio)) == NULL) { in OSSL_STORE_attach()
1004 ossl_core_bio_free(cbio); in OSSL_STORE_attach()