Home
last modified time | relevance | path

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

12

/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)
Dtls-client.c186 if (wsi->tls.use_ssl & LCCSCF_USE_SSL) { in lws_client_create_tls()
Dtls-network.c216 if (v->tls.use_ssl && in lws_gate_accepts()
/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/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/libwebsockets/lib/tls/openssl/
Dopenssl-client.c114 wsi->tls.use_ssl & LCCSCF_ALLOW_SELFSIGNED) { in OpenSSL_client_verify_callback()
121 wsi->tls.use_ssl & LCCSCF_ALLOW_INSECURE) { in OpenSSL_client_verify_callback()
127 wsi->tls.use_ssl & LCCSCF_ALLOW_EXPIRED) { in OpenSSL_client_verify_callback()
300 if (!(wsi->tls.use_ssl & LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK)) { in lws_ssl_client_bio_create()
316 if (!(wsi->tls.use_ssl & LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK)) { in lws_ssl_client_bio_create()
366 if (wsi->tls.use_ssl & LCCSCF_ALLOW_SELFSIGNED) in lws_ssl_client_bio_create()
369 if (wsi->tls.use_ssl & LCCSCF_ALLOW_SELFSIGNED) in lws_ssl_client_bio_create()
648 if (wsi->tls.use_ssl & avoid) { in lws_tls_client_confirm_peer_cert()
/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/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/grpc/test/cpp/util/
Dcli_credentials.cc239 bool use_ssl = FLAGS_channel_creds_type.compare("ssl") == 0 || in GetSslTargetNameOverride() local
241 return use_ssl ? FLAGS_ssl_target : ""; in GetSslTargetNameOverride()
/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()
Dconnect.c335 wsi->tls.use_ssl = (unsigned int)i->ssl_connection; in lws_client_connect_via_info()
493 if (wsi->tls.use_ssl & LCCSCF_USE_SSL) { in lws_client_connect_via_info()
/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()
Dmbedtls-server.c199 if (!vhost->tls.use_ssl || in lws_tls_server_vhost_backend_init()
274 if (wsi->tls.use_ssl) in lws_tls_server_abort_connection()
/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/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/curl/lib/
Dftp.h149 unsigned char use_ssl; /* if AUTH TLS is to be attempted etc, for FTP or member
Dsmtp.c843 if(data->set.use_ssl != CURLUSESSL_TRY) { in smtp_state_starttls_resp()
869 if(data->set.use_ssl <= CURLUSESSL_TRY || conn->ssl[FIRSTSOCKET].use) in smtp_state_ehlo_resp()
934 if(data->set.use_ssl && !conn->ssl[FIRSTSOCKET].use) { in smtp_state_ehlo_resp()
939 else if(data->set.use_ssl == CURLUSESSL_TRY) in smtp_state_ehlo_resp()
Dpop3.c749 if(!data->set.use_ssl || conn->ssl[FIRSTSOCKET].use) in pop3_state_capa_resp()
754 else if(data->set.use_ssl <= CURLUSESSL_TRY) in pop3_state_capa_resp()
780 if(data->set.use_ssl != CURLUSESSL_TRY) { in pop3_state_starttls_resp()
/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/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()
/third_party/openssl/apps/
Docsp.c256 int accept_count = -1, add_nonce = 1, noverify = 0, use_ssl = -1; in ocsp_main() local
298 if (!OCSP_parse_url(opt_arg(), &host, &port, &path, &use_ssl)) { in ocsp_main()
690 port, use_ssl, headers, req_timeout); in ocsp_main()
1588 const char *port, int use_ssl, in process_responder() argument
1603 if (use_ssl == 1) { in process_responder()

12