Home
last modified time | relevance | path

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

/openssl/crypto/http/
H A Dhttp_client.c52 int use_ssl; /* Use HTTPS */ member
393 void *arg, int use_ssl, in http_req_ctx_new() argument
405 rctx->use_ssl = use_ssl; in http_req_ctx_new()
939 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in explict_or_default_port()
948 int use_ssl, in http_new_bio() argument
964 port = explict_or_default_port(host, port, use_ssl); in http_new_bio()
1019 int use_ssl, BIO *bio, BIO *rbio, in OSSL_HTTP_open() argument
1026 if (use_ssl && bio_update_fn == NULL) { in OSSL_HTTP_open()
1115 use_http_proxy = rctx->proxy != NULL && !rctx->use_ssl; in OSSL_HTTP_set1_request()
1223 int use_ssl; in OSSL_HTTP_get() local
[all …]
H A Dhttp_lib.c293 const char *server, int use_ssl) in OSSL_HTTP_adapt_proxy() argument
300 proxy = ossl_safe_getenv(use_ssl ? "https_proxy" : "http_proxy"); in OSSL_HTTP_adapt_proxy()
302 proxy = ossl_safe_getenv(use_ssl ? OPENSSL_HTTP_PROXY : OPENSSL_HTTPS_PROXY); in OSSL_HTTP_adapt_proxy()
/openssl/include/openssl/
H A Dhttp.h70 int use_ssl, BIO *bio, BIO *rbio,
90 const char *path, int use_ssl,
108 const char *server, int use_ssl);
/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,
78 If I<use_ssl> != 0 it defaults to C<https_proxy> if set, else C<HTTPS_PROXY>.
93 If I<use_ssl> is nonzero a TLS connection is requested
96 The parameter I<bio_update_fn>, which is optional if I<use_ssl> is 0,
108 I<detail> being 1 if I<use_ssl> is nonzero (i.e., HTTPS is requested), else 0.
/openssl/apps/
H A Docsp.c247 int accept_count = -1, add_nonce = 1, noverify = 0, use_ssl = -1; in ocsp_main() local
286 if (!OSSL_HTTP_parse_url(opt_arg(), &use_ssl, NULL /* userinfo */, in ocsp_main()
734 use_ssl, headers, req_timeout); in ocsp_main()
1234 int use_ssl, STACK_OF(CONF_VALUE) *headers, in process_responder() argument
1240 if (use_ssl == 1) { in process_responder()
H A Ds_server.c460 int use_ssl; member
480 int use_ssl; in get_ocsp_resp_from_responder() local
499 if (!OSSL_HTTP_parse_url(sk_OPENSSL_STRING_value(aia, 0), &use_ssl, in get_ocsp_resp_from_responder()
516 use_ssl = srctx->use_ssl; in get_ocsp_resp_from_responder()
564 use_ssl, NULL /* headers */, srctx->timeout); in get_ocsp_resp_from_responder()
1419 if (!OSSL_HTTP_parse_url(opt_arg(), &tlscstatp.use_ssl, NULL, in s_server_main()
H A Dcmp.c2095 int portnum, use_ssl; in setup_client_ctx() local
2123 if (!OSSL_HTTP_parse_url(opt_server, &use_ssl, NULL /* user */, in setup_client_ctx()
2129 if (use_ssl && !opt_tls_used) { in setup_client_ctx()
2150 proxy_host = OSSL_HTTP_adapt_proxy(opt_proxy, opt_no_proxy, host, use_ssl); in setup_client_ctx()
/openssl/apps/lib/
H A Dapps.c2611 int use_ssl; in app_http_get_asn1() local
2620 if (!OSSL_HTTP_parse_url(url, &use_ssl, NULL /* userinfo */, &server, &port, in app_http_get_asn1()
2623 if (use_ssl && ssl_ctx == NULL) { in app_http_get_asn1()
2628 if (!use_ssl && ssl_ctx != NULL) { in app_http_get_asn1()
2637 OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl) != NULL; in app_http_get_asn1()
2663 int use_ssl = ssl_ctx != NULL; in app_http_post_asn1() local
2674 OSSL_HTTP_adapt_proxy(proxy, no_proxy, host, use_ssl) != NULL; in app_http_post_asn1()
2677 rsp = OSSL_HTTP_transfer(NULL, host, port, path, use_ssl, in app_http_post_asn1()
/openssl/apps/include/
H A Dapps.h194 int use_ssl, STACK_OF(CONF_VALUE) *headers,
/openssl/test/
H A Dcmp_ctx_test.c322 static BIO *test_http_cb(BIO *bio, void *arg, int use_ssl, int detail) in test_http_cb() argument

Completed in 67 milliseconds