Home
last modified time | relevance | path

Searched refs:use_ssl (Results 1 – 14 of 14) sorted by relevance

/src/crypto/openssl/crypto/http/ !
H A Dhttp_client.c54 int use_ssl; /* Use HTTPS */ member
397 void *arg, int use_ssl, in http_req_ctx_new() argument
409 rctx->use_ssl = use_ssl; in http_req_ctx_new()
975 static const char *explict_or_default_port(const char *hostserv, const char *port, int use_ssl) in explict_or_default_port() argument
983 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in explict_or_default_port()
992 int use_ssl, in http_new_bio() argument
1008 port = explict_or_default_port(host, port, use_ssl); in http_new_bio()
1063 int use_ssl, BIO *bio, BIO *rbio, in OSSL_HTTP_open() argument
1070 if (use_ssl && bio_update_fn == NULL) { in OSSL_HTTP_open()
1095 proxy = OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl); in OSSL_HTTP_open()
[all …]
H A Dhttp_lib.c290 const char *server, int use_ssl) in OSSL_HTTP_adapt_proxy() argument
297 proxy = ossl_safe_getenv(use_ssl ? "https_proxy" : "http_proxy"); in OSSL_HTTP_adapt_proxy()
299 proxy = ossl_safe_getenv(use_ssl ? OPENSSL_HTTPS_PROXY : OPENSSL_HTTP_PROXY); in OSSL_HTTP_adapt_proxy()
/src/crypto/openssl/include/openssl/ !
H A Dhttp.h76 int use_ssl, BIO *bio, BIO *rbio,
96 const char *path, int use_ssl,
111 const char *server, int use_ssl);
/src/contrib/ntp/sntp/libevent/sample/ !
H A Dle-proxy.c216 int use_ssl = 0; in main() local
231 use_ssl = 1; in main()
269 if (use_ssl) { in main()
/src/contrib/libevent/sample/ !
H A Dle-proxy.c216 int use_ssl = 0; in main() local
231 use_ssl = 1; in main()
269 if (use_ssl) { in main()
/src/crypto/openssl/doc/man3/ !
H A DOSSL_HTTP_parse_url.pod16 const char *server, int use_ssl);
37 I<server>, I<use_ssl>, and the applicable environment variable, as follows.
39 environment variable, or from C<https_proxy> if I<use_ssl> is nonzero.
42 environment variable, or from C<HTTPS_PROXY> if I<use_ssl> is nonzero.
H A DOSSL_HTTP_transfer.pod23 int use_ssl, BIO *bio, BIO *rbio,
43 const char *path, int use_ssl,
80 If I<use_ssl> != 0 it defaults to C<https_proxy> if set, else C<HTTPS_PROXY>.
95 If I<use_ssl> is nonzero a TLS connection is requested
98 The parameter I<bio_update_fn>, which is optional if I<use_ssl> is 0,
110 I<detail> being 1 if I<use_ssl> is nonzero (i.e., HTTPS is requested), else 0.
/src/crypto/openssl/apps/ !
H A Docsp.c291 int accept_count = -1, add_nonce = 1, noverify = 0, use_ssl = -1; in ocsp_main() local
330 if (!OSSL_HTTP_parse_url(opt_arg(), &use_ssl, NULL /* userinfo */, in ocsp_main()
778 use_ssl, headers, req_timeout); in ocsp_main()
1289 int use_ssl, STACK_OF(CONF_VALUE) *headers, in process_responder() argument
1295 if (use_ssl == 1) { in process_responder()
H A Ds_server.c463 int use_ssl; member
483 int use_ssl; in get_ocsp_resp_from_responder() local
502 if (!OSSL_HTTP_parse_url(sk_OPENSSL_STRING_value(aia, 0), &use_ssl, in get_ocsp_resp_from_responder()
519 use_ssl = srctx->use_ssl; in get_ocsp_resp_from_responder()
567 use_ssl, NULL /* headers */, srctx->timeout); in get_ocsp_resp_from_responder()
1525 if (!OSSL_HTTP_parse_url(opt_arg(), &tlscstatp.use_ssl, NULL, in s_server_main()
H A Dcmp.c2213 int portnum, use_ssl; in setup_client_ctx() local
2241 if (!OSSL_HTTP_parse_url(opt_server, &use_ssl, NULL /* user */, in setup_client_ctx()
2247 if (use_ssl && !opt_tls_used) { in setup_client_ctx()
2268 proxy_host = OSSL_HTTP_adapt_proxy(opt_proxy, opt_no_proxy, host, use_ssl); in setup_client_ctx()
/src/crypto/openssl/apps/lib/ !
H A Dapps.c2608 int use_ssl; in app_http_get_asn1() local
2617 if (!OSSL_HTTP_parse_url(url, &use_ssl, NULL /* userinfo */, &server, &port, in app_http_get_asn1()
2620 if (use_ssl && ssl_ctx == NULL) { in app_http_get_asn1()
2625 if (!use_ssl && ssl_ctx != NULL) { in app_http_get_asn1()
2634 OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl) != NULL; in app_http_get_asn1()
2659 int use_ssl = ssl_ctx != NULL; in app_http_post_asn1() local
2670 OSSL_HTTP_adapt_proxy(proxy, no_proxy, host, use_ssl) != NULL; in app_http_post_asn1()
2673 rsp = OSSL_HTTP_transfer(NULL, host, port, path, use_ssl, in app_http_post_asn1()
/src/crypto/openssl/apps/include/ !
H A Dapps.h194 int use_ssl, STACK_OF(CONF_VALUE) *headers,
/src/crypto/openssl/test/ !
H A Dcmp_ctx_test.c329 static BIO *test_http_cb(BIO *bio, void *arg, int use_ssl, int detail) in test_http_cb() argument
/src/contrib/unbound/services/ !
H A Doutside_network.c534 socklen_t addrlen, int use_ssl)
548 if(use_ssl)