/third_party/openssl/apps/lib/ |
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() 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, 400, "Bad Request"); in http_server_get_asn1_req() 381 (void)http_server_send_status(cbio, 200, "OK"); in http_server_get_asn1_req() [all …]
|
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/node/deps/openssl/openssl/apps/lib/ |
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() 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, 400, "Bad Request"); in http_server_get_asn1_req() 381 (void)http_server_send_status(cbio, 200, "OK"); in http_server_get_asn1_req() [all …]
|
D | apps.c | 2509 BIO *cbio; in app_http_tls_cb() local 2519 cbio = BIO_pop(bio); /* connect+HTTP BIO */ in app_http_tls_cb() 2522 bio = cbio; in app_http_tls_cb()
|
/third_party/openssl/test/ |
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/ |
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/openssl/crypto/http/ |
D | http_client.c | 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 == NULL) in OSSL_HTTP_open() 970 if (rbio == NULL && BIO_do_connect_retry(cbio, overall_timeout, -1) <= 0) { in OSSL_HTTP_open() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/http/ |
D | http_client.c | 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 == NULL) in OSSL_HTTP_open() 970 if (rbio == NULL && BIO_do_connect_retry(cbio, overall_timeout, -1) <= 0) { in OSSL_HTTP_open() [all …]
|
/third_party/openssl/doc/man3/ |
D | BIO_s_core.pod | 52 BIO *cbio = BIO_new_from_core_bio(libctx, corebio); 54 if (cbio == NULL) 57 BIO_puts(cbio, "Hello World\n"); 59 BIO_free(cbio);
|
D | BIO_s_connect.pod | 170 BIO *cbio, *out; 174 cbio = BIO_new_connect("localhost:http"); 176 if (BIO_do_connect(cbio) <= 0) { 181 BIO_puts(cbio, "GET / HTTP/1.0\n\n"); 183 len = BIO_read(cbio, tmpbuf, 1024); 188 BIO_free(cbio);
|
D | BIO_s_accept.pod | 190 BIO *abio, *cbio, *cbio2; 209 cbio = BIO_pop(abio); 210 BIO_puts(cbio, "Connection 1: Sending out Data on initial connection\n"); 227 BIO_puts(cbio, "Connection 1: Second connection established\n"); 230 BIO_free(cbio);
|
/third_party/node/deps/openssl/openssl/apps/include/ |
D | http_server.h | 102 int http_server_send_asn1_resp(BIO *cbio, int keep_alive, 113 int http_server_send_status(BIO *cbio, int status, const char *reason);
|
/third_party/openssl/apps/include/ |
D | http_server.h | 102 int http_server_send_asn1_resp(BIO *cbio, int keep_alive, 113 int http_server_send_status(BIO *cbio, int status, const char *reason);
|
/third_party/openssl/apps/ |
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() [all …]
|
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/apps/ |
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() [all …]
|
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/crypto/encode_decode/ |
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()
|
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/encode_decode/ |
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()
|
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/ |
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/ |
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/ |
D | openssl.c | 2983 BIO *cbio = NULL; in load_cacert_from_memory() local 2993 cbio = BIO_new_mem_buf(ca_info_blob->data, (int)ca_info_blob->len); in load_cacert_from_memory() 2994 if(!cbio) in load_cacert_from_memory() 2997 inf = PEM_X509_INFO_read_bio(cbio, NULL, NULL, NULL); in load_cacert_from_memory() 2999 BIO_free(cbio); in load_cacert_from_memory() 3029 BIO_free(cbio); in load_cacert_from_memory()
|