/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | http_server.c | 289 BIO *cbio = *pcbio, *getbio = NULL, *b64 = NULL; in http_server_get_asn1_req() local 300 if (cbio == NULL) { in http_server_get_asn1_req() 307 *pcbio = cbio = BIO_pop(acbio); in http_server_get_asn1_req() 311 if (cbio == NULL) { in http_server_get_asn1_req() 312 /* Cannot call http_server_send_status(cbio, ...) */ in http_server_get_asn1_req() 319 (void)BIO_get_fd(cbio, &acfd); in http_server_get_asn1_req() 325 len = BIO_gets(cbio, reqbuf, sizeof(reqbuf)); in http_server_get_asn1_req() 331 (void)http_server_send_status(cbio, 400, "Bad Request"); in http_server_get_asn1_req() 354 (void)http_server_send_status(cbio, 400, "Bad Request"); in http_server_get_asn1_req() 367 (void)http_server_send_status(cbio, 40 in http_server_get_asn1_req() 508 http_server_send_asn1_resp(BIO *cbio, int keep_alive, const char *content_type, const ASN1_ITEM *it, const ASN1_VALUE *resp) http_server_send_asn1_resp() argument 524 http_server_send_status(BIO *cbio, int status, const char *reason) http_server_send_status() argument [all...] |
H A D | apps.c | 2512 BIO *cbio; in app_http_tls_cb() local 2522 cbio = BIO_pop(bio); /* connect+HTTP BIO */ in app_http_tls_cb() 2525 bio = cbio; in app_http_tls_cb()
|
/third_party/openssl/apps/lib/ |
H A D | http_server.c | 289 BIO *cbio = *pcbio, *getbio = NULL, *b64 = NULL; in http_server_get_asn1_req() local 300 if (cbio == NULL) { in http_server_get_asn1_req() 307 *pcbio = cbio = BIO_pop(acbio); in http_server_get_asn1_req() 311 if (cbio == NULL) { in http_server_get_asn1_req() 312 /* Cannot call http_server_send_status(cbio, ...) */ in http_server_get_asn1_req() 319 (void)BIO_get_fd(cbio, &acfd); in http_server_get_asn1_req() 325 len = BIO_gets(cbio, reqbuf, sizeof(reqbuf)); in http_server_get_asn1_req() 331 (void)http_server_send_status(cbio, 400, "Bad Request"); in http_server_get_asn1_req() 354 (void)http_server_send_status(cbio, 400, "Bad Request"); in http_server_get_asn1_req() 367 (void)http_server_send_status(cbio, 40 in http_server_get_asn1_req() 508 http_server_send_asn1_resp(BIO *cbio, int keep_alive, const char *content_type, const ASN1_ITEM *it, const ASN1_VALUE *resp) http_server_send_asn1_resp() argument 524 http_server_send_status(BIO *cbio, int status, const char *reason) http_server_send_status() argument [all...] |
H A D | apps.c | 2505 BIO *cbio; in app_http_tls_cb() local 2515 cbio = BIO_pop(bio); /* connect+HTTP BIO */ in app_http_tls_cb() 2518 bio = cbio; in app_http_tls_cb()
|
/third_party/openssl/test/ |
H A D | bio_core_test.c | 69 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()
|
/third_party/curl/docs/examples/ |
H A D | cacertinmem.c | 88 BIO *cbio = BIO_new_mem_buf(mypem, sizeof(mypem)); in sslctx_function() local 95 if(!cts || !cbio) { in sslctx_function() 99 inf = PEM_X509_INFO_read_bio(cbio, NULL, NULL, NULL); in sslctx_function() 102 BIO_free(cbio); in sslctx_function() 117 BIO_free(cbio); in sslctx_function()
|
/third_party/node/deps/openssl/openssl/crypto/http/ |
H A D | http_client.c | 120 * Use BIO_free_all() because bio_update_fn may prepend or append to cbio. in OSSL_HTTP_REQ_CTX_free() 863 BIO *cbio; in http_new_bio() local 876 cbio = BIO_new_connect(host /* optionally includes ":port" */); in http_new_bio() 877 if (cbio == NULL) in http_new_bio() 880 (void)BIO_set_conn_port(cbio, port); in http_new_bio() 883 return cbio; in http_new_bio() 933 BIO *cbio; /* == bio if supplied, used as connection BIO if rbio is NULL */ in OSSL_HTTP_open() local 946 cbio = bio; in OSSL_HTTP_open() 969 cbio = http_new_bio(server, port, use_ssl, proxy_host, proxy_port); in OSSL_HTTP_open() 972 if (cbio in OSSL_HTTP_open() [all...] |
/third_party/openssl/crypto/http/ |
H A D | http_client.c | 120 * Use BIO_free_all() because bio_update_fn may prepend or append to cbio. in OSSL_HTTP_REQ_CTX_free() 852 BIO *cbio; in http_new_bio() local 865 cbio = BIO_new_connect(host /* optionally includes ":port" */); in http_new_bio() 866 if (cbio == NULL) in http_new_bio() 869 (void)BIO_set_conn_port(cbio, port); in http_new_bio() 872 return cbio; in http_new_bio() 922 BIO *cbio; /* == bio if supplied, used as connection BIO if rbio is NULL */ in OSSL_HTTP_open() local 935 cbio = bio; in OSSL_HTTP_open() 958 cbio = http_new_bio(server, port, use_ssl, proxy_host, proxy_port); in OSSL_HTTP_open() 961 if (cbio in OSSL_HTTP_open() [all...] |
/third_party/node/deps/openssl/openssl/apps/include/ |
H A D | http_server.h | 94 * cbio: destination BIO (typically as returned by http_server_get_asn1_req()) 95 * note: cbio should not do an encoding that changes the output length 102 int http_server_send_asn1_resp(BIO *cbio, int keep_alive, 108 * cbio: destination BIO (typically as returned by http_server_get_asn1_req()) 113 int http_server_send_status(BIO *cbio, int status, const char *reason);
|
/third_party/openssl/apps/include/ |
H A D | http_server.h | 94 * cbio: destination BIO (typically as returned by http_server_get_asn1_req()) 95 * note: cbio should not do an encoding that changes the output length 102 int http_server_send_asn1_resp(BIO *cbio, int keep_alive, 108 * cbio: destination BIO (typically as returned by http_server_get_asn1_req()) 113 int http_server_send_status(BIO *cbio, int status, const char *reason);
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | ocsp.c | 80 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() 1215 send_ocsp_response(BIO *cbio, const OCSP_RESPONSE *resp) send_ocsp_response() argument [all...] |
H A D | cmp.c | 2683 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()
|
/third_party/openssl/apps/ |
H A D | ocsp.c | 80 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() 1215 send_ocsp_response(BIO *cbio, const OCSP_RESPONSE *resp) send_ocsp_response() argument [all...] |
H A D | cmp.c | 2682 BIO *cbio = NULL; in cmp_server() local 2697 &cbio, acbio, &keep_alive, in cmp_server() 2715 (void)http_server_send_status(cbio, 404, "Not Found"); in cmp_server() 2726 (void)http_server_send_status(cbio, in cmp_server() 2730 ret = http_server_send_asn1_resp(cbio, keep_alive, in cmp_server() 2746 BIO_free_all(cbio); in cmp_server() 2747 cbio = NULL; in cmp_server() 2751 BIO_free_all(cbio); in cmp_server()
|
/third_party/node/deps/openssl/openssl/crypto/encode_decode/ |
H A D | encoder_lib.c | 618 OSSL_CORE_BIO *cbio = NULL; in encoder_process() local 632 ok = (cbio = ossl_core_bio_new_from_bio(current_out)) != NULL; in encoder_process() 634 ok = current_encoder->encode(current_encoder_ctx, cbio, in encoder_process() 647 ossl_core_bio_free(cbio); in encoder_process()
|
H A D | decoder_lib.c | 681 OSSL_CORE_BIO *cbio = NULL; in decoder_process() local 820 if ((cbio = ossl_core_bio_new_from_bio(bio)) == NULL) { in decoder_process() 963 ok = new_decoder->decode(new_decoderctx, cbio, in decoder_process() 997 ossl_core_bio_free(cbio); in decoder_process()
|
/third_party/openssl/crypto/encode_decode/ |
H A D | encoder_lib.c | 618 OSSL_CORE_BIO *cbio = NULL; in encoder_process() local 632 ok = (cbio = ossl_core_bio_new_from_bio(current_out)) != NULL; in encoder_process() 634 ok = current_encoder->encode(current_encoder_ctx, cbio, in encoder_process() 647 ossl_core_bio_free(cbio); in encoder_process()
|
H A D | decoder_lib.c | 681 OSSL_CORE_BIO *cbio = NULL; in decoder_process() local 819 if ((cbio = ossl_core_bio_new_from_bio(bio)) == NULL) { in decoder_process() 962 ok = new_decoder->decode(new_decoderctx, cbio, in decoder_process() 996 ossl_core_bio_free(cbio); in decoder_process()
|
/third_party/node/deps/openssl/openssl/crypto/store/ |
H A D | store_lib.c | 991 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()
|
/third_party/openssl/crypto/store/ |
H A D | store_lib.c | 991 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()
|
/third_party/curl/lib/vtls/ |
H A D | openssl.c | 2965 BIO *cbio = NULL; in load_cacert_from_memory() local 2975 cbio = BIO_new_mem_buf(ca_info_blob->data, (int)ca_info_blob->len); in load_cacert_from_memory() 2976 if(!cbio) in load_cacert_from_memory() 2979 inf = PEM_X509_INFO_read_bio(cbio, NULL, NULL, NULL); in load_cacert_from_memory() 2981 BIO_free(cbio); in load_cacert_from_memory() 3011 BIO_free(cbio); in load_cacert_from_memory()
|