Home
last modified time | relevance | path

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

123

/third_party/libwebsockets/lib/tls/
Dtls-server.c53 vhost->tls.use_ssl = 0; in lws_context_init_server_ssl()
71 vhost->tls.use_ssl = lws_check_opt(vhost->options, in lws_context_init_server_ssl()
74 if (vhost->tls.use_ssl && info->ssl_cipher_list) in lws_context_init_server_ssl()
79 vhost->name, vhost->tls.use_ssl ? "" : "non-"); in lws_context_init_server_ssl()
101 if (vhost->tls.use_ssl) { in lws_context_init_server_ssl()
113 if (vhost->tls.use_ssl) in lws_context_init_server_ssl()
232 wsi->tls.use_ssl = 0; in lws_server_socket_service_ssl()
Dprivate-network.h65 int use_ssl; member
89 unsigned int use_ssl; member
Dprivate-lib-tls.h151 #define LWS_SSL_ENABLED(vh) (vh && vh->tls.use_ssl)
/third_party/libwebsockets/test-apps/
Dtest-client.c596 int n = 0, m, ret = 0, port = 7681, use_ssl = 0, ietf_version = -1; in main() local
629 use_ssl = LCCSCF_USE_SSL | in main()
634 use_ssl = LCCSCF_USE_SSL; in main()
707 use_ssl = 0; in main()
709 if (!use_ssl) in main()
710 use_ssl = LCCSCF_USE_SSL; in main()
744 if (use_ssl) { in main()
767 if (use_ssl & LCCSCF_USE_SSL) { in main()
776 if (use_ssl & LCCSCF_ALLOW_SELFSIGNED) in main()
780 if (use_ssl & LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK) in main()
[all …]
Dtest-server.c426 int use_ssl = 0; in main() local
475 use_ssl = 1; in main()
517 use_ssl = 1; in main()
585 if (use_ssl) { in main()
636 if (use_ssl) in main()
/third_party/openssl/crypto/http/
Dhttp_client.c52 int use_ssl; /* Use HTTPS */ member
366 void *arg, int use_ssl, in http_req_ctx_new() argument
378 rctx->use_ssl = use_ssl; in http_req_ctx_new()
846 int use_ssl, in http_new_bio() argument
863 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in http_new_bio()
918 int use_ssl, BIO *bio, BIO *rbio, in OSSL_HTTP_open() argument
925 if (use_ssl && bio_update_fn == NULL) { in OSSL_HTTP_open()
951 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in OSSL_HTTP_open()
952 proxy = OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl); in OSSL_HTTP_open()
958 cbio = http_new_bio(server, port, use_ssl, proxy_host, proxy_port); in OSSL_HTTP_open()
[all …]
Dhttp_lib.c271 const char *server, int use_ssl) in OSSL_HTTP_adapt_proxy() argument
278 proxy = ossl_safe_getenv(use_ssl ? "https_proxy" : "http_proxy"); in OSSL_HTTP_adapt_proxy()
280 proxy = ossl_safe_getenv(use_ssl ? OPENSSL_HTTP_PROXY : OPENSSL_HTTPS_PROXY); in OSSL_HTTP_adapt_proxy()
/third_party/node/deps/openssl/openssl/crypto/http/
Dhttp_client.c52 int use_ssl; /* Use HTTPS */ member
366 void *arg, int use_ssl, in http_req_ctx_new() argument
378 rctx->use_ssl = use_ssl; in http_req_ctx_new()
846 int use_ssl, in http_new_bio() argument
863 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in http_new_bio()
918 int use_ssl, BIO *bio, BIO *rbio, in OSSL_HTTP_open() argument
925 if (use_ssl && bio_update_fn == NULL) { in OSSL_HTTP_open()
951 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in OSSL_HTTP_open()
952 proxy = OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl); in OSSL_HTTP_open()
958 cbio = http_new_bio(server, port, use_ssl, proxy_host, proxy_port); in OSSL_HTTP_open()
[all …]
Dhttp_lib.c279 const char *server, int use_ssl) in OSSL_HTTP_adapt_proxy() argument
286 proxy = ossl_safe_getenv(use_ssl ? "https_proxy" : "http_proxy"); in OSSL_HTTP_adapt_proxy()
288 proxy = ossl_safe_getenv(use_ssl ? OPENSSL_HTTP_PROXY : OPENSSL_HTTPS_PROXY); in OSSL_HTTP_adapt_proxy()
/third_party/python/Lib/test/test_asyncio/
Dutils.py177 def _run_test_server(*, address, use_ssl=False, server_cls, server_ssl_cls): argument
197 server_class = server_ssl_cls if use_ssl else server_cls
270 def run_test_unix_server(*, use_ssl=False): argument
272 yield from _run_test_server(address=path, use_ssl=use_ssl,
278 def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False): argument
279 yield from _run_test_server(address=(host, port), use_ssl=use_ssl,
/third_party/openssl/include/openssl/
Dhttp.h66 int use_ssl, BIO *bio, BIO *rbio,
86 const char *path, int use_ssl,
104 const char *server, int use_ssl);
/third_party/node/deps/openssl/openssl/include/openssl/
Dhttp.h66 int use_ssl, BIO *bio, BIO *rbio,
86 const char *path, int use_ssl,
104 const char *server, int use_ssl);
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c116 wsi->tls.use_ssl & LCCSCF_ALLOW_SELFSIGNED) { in OpenSSL_client_verify_callback()
123 wsi->tls.use_ssl & LCCSCF_ALLOW_INSECURE) { in OpenSSL_client_verify_callback()
129 wsi->tls.use_ssl & LCCSCF_ALLOW_EXPIRED) { in OpenSSL_client_verify_callback()
302 if (!(wsi->tls.use_ssl & LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK)) { in lws_ssl_client_bio_create()
318 if (!(wsi->tls.use_ssl & LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK)) { in lws_ssl_client_bio_create()
368 if (wsi->tls.use_ssl & LCCSCF_ALLOW_SELFSIGNED) in lws_ssl_client_bio_create()
371 if (wsi->tls.use_ssl & LCCSCF_ALLOW_SELFSIGNED) in lws_ssl_client_bio_create()
650 if (wsi->tls.use_ssl & avoid) { in lws_tls_client_confirm_peer_cert()
/third_party/openssl/doc/man3/
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.
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>.
91 If I<use_ssl> is nonzero a TLS connection is requested
94 The parameter I<bio_update_fn>, which is optional if I<use_ssl> is 0,
106 I<detail> being 1 if I<use_ssl> is nonzero (i.e., HTTPS is requested), else 0.
/third_party/libwebsockets/test-apps/android/app/src/main/jni/
DLwsService.cpp143 static int use_ssl = 0; variable
277 use_ssl = 0; in jni_setConnectionParameters()
291 info_ws.ssl_connection = use_ssl; in jni_connectLws()
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c62 if (wsi->a.vhost->tls.use_ssl && in rops_handle_POLLIN_listen()
142 if (!wsi->a.vhost->tls.use_ssl) in rops_handle_POLLIN_listen()
/third_party/libwebsockets/lib/core-net/client/
Dconnect4.c188 (wsi->tls.use_ssl & LCCSCF_USE_SSL)) { in lws_client_connect_4_established()
259 if (wsi->tls.use_ssl & LCCSCF_USE_SSL) { in lws_client_connect_4_established()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c116 if (!(wsi->tls.use_ssl & LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK)) { in lws_ssl_client_bio_create()
343 if (wsi->tls.use_ssl & avoid) { in lws_tls_client_confirm_peer_cert()
355 type, (unsigned int)wsi->tls.use_ssl, n, in lws_tls_client_confirm_peer_cert()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-jit-trust/
DREADME.md41 …] E: CLIENT_CONNECTION_ERROR: server's cert didn't look good, invalidca (use_ssl 0x20000061) X509_…
47 …] E: CLIENT_CONNECTION_ERROR: server's cert didn't look good, invalidca (use_ssl 0x1) X509_V_ERR =…
/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurlsmtpsink.h64 gboolean use_ssl; member
Dgstcurlsmtpsink.c341 sink->use_ssl = DEFAULT_USE_SSL; in gst_curl_smtp_sink_init()
430 sink->use_ssl = g_value_get_boolean (value); in gst_curl_smtp_sink_set_property()
431 GST_DEBUG_OBJECT (sink, "use-ssl set to %d", sink->use_ssl); in gst_curl_smtp_sink_set_property()
508 g_value_set_boolean (value, sink->use_ssl); in gst_curl_smtp_sink_get_property()
736 if (sink->use_ssl) { in gst_curl_smtp_sink_set_transfer_options_unlocked()
/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c220 if (!(wsi->tls.use_ssl & LCCSCF_USE_SSL)) in lws_mqtt_client_socket_service()
266 if (wsi->tls.use_ssl & LCCSCF_USE_SSL) { in lws_mqtt_client_socket_service()
/third_party/curl/lib/
Dftp.h148 unsigned char use_ssl; /* if AUTH TLS is to be attempted etc, for FTP or member
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c172 !(wsi->tls.use_ssl & LCCSCF_USE_SSL) in lws_http_client_socket_service()
204 if (wsi->tls.use_ssl & LCCSCF_USE_SSL) { in lws_http_client_socket_service()
761 ssl = nwsi->tls.use_ssl & LCCSCF_USE_SSL; in lws_client_interpret_server_handshake()
786 ssl = nwsi->tls.use_ssl & LCCSCF_USE_SSL; in lws_client_interpret_server_handshake()
809 if ((wsi->tls.use_ssl & LCCSCF_USE_SSL) && !ssl && in lws_client_interpret_server_handshake()

123