Home
last modified time | relevance | path

Searched refs:use_ssl (Results 1 - 25 of 52) sorted by relevance

123

/third_party/libwebsockets/lib/tls/
H A 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()
H A Dprivate-network.h65 int use_ssl; member
89 unsigned int use_ssl; member
H A Dprivate-lib-tls.h151 #define LWS_SSL_ENABLED(vh) (vh && vh->tls.use_ssl)
H A Dtls-network.c216 if (v->tls.use_ssl && in lws_gate_accepts()
H A Dtls-client.c192 if (wsi->tls.use_ssl & LCCSCF_USE_SSL) { in lws_client_create_tls()
/third_party/libwebsockets/test-apps/
H A 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 in main()
[all...]
H A 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/node/deps/openssl/openssl/crypto/http/
H A Dhttp_client.c52 int use_ssl; /* Use HTTPS */ member
373 void *arg, int use_ssl, in http_req_ctx_new()
385 rctx->use_ssl = use_ssl; in http_req_ctx_new()
857 int use_ssl, in http_new_bio()
874 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in http_new_bio()
929 int use_ssl, BIO *bio, BIO *rbio, in OSSL_HTTP_open()
936 if (use_ssl && bio_update_fn == NULL) { in OSSL_HTTP_open()
962 port = use_ssl ? OSSL_HTTPS_PORT : OSSL_HTTP_PORT; in OSSL_HTTP_open()
963 proxy = OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl); in OSSL_HTTP_open()
371 http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int use_ssl, const char *proxy, const char *server, const char *port, int buf_size, int overall_timeout) http_req_ctx_new() argument
855 http_new_bio(const char *server , const char *server_port , int use_ssl, const char *proxy , const char *proxy_port ) http_new_bio() argument
927 OSSL_HTTP_open(const char *server, const char *port, const char *proxy, const char *no_proxy, int use_ssl, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, int overall_timeout) OSSL_HTTP_open() argument
1135 int use_ssl; OSSL_HTTP_get() local
1212 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
H A Dhttp_lib.c279 const char *server, int use_ssl) in OSSL_HTTP_adapt_proxy()
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()
278 OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy, const char *server, int use_ssl) OSSL_HTTP_adapt_proxy() argument
/third_party/openssl/crypto/http/
H A Dhttp_client.c52 int use_ssl; /* Use HTTPS */ member
366 void *arg, int use_ssl, in http_req_ctx_new()
378 rctx->use_ssl = use_ssl; in http_req_ctx_new()
846 int use_ssl, in http_new_bio()
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()
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()
364 http_req_ctx_new(int free_wbio, BIO *wbio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int use_ssl, const char *proxy, const char *server, const char *port, int buf_size, int overall_timeout) http_req_ctx_new() argument
844 http_new_bio(const char *server , const char *server_port , int use_ssl, const char *proxy , const char *proxy_port ) http_new_bio() argument
916 OSSL_HTTP_open(const char *server, const char *port, const char *proxy, const char *no_proxy, int use_ssl, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, int overall_timeout) OSSL_HTTP_open() argument
1124 int use_ssl; OSSL_HTTP_get() local
1201 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
H A Dhttp_lib.c271 const char *server, int use_ssl) in OSSL_HTTP_adapt_proxy()
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()
270 OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy, const char *server, int use_ssl) OSSL_HTTP_adapt_proxy() argument
/third_party/python/Lib/test/test_asyncio/
H A Dutils.py177 def _run_test_server(*, address, use_ssl=False, server_cls, server_ssl_cls):
197 server_class = server_ssl_cls if use_ssl else server_cls
270 def run_test_unix_server(*, use_ssl=False):
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):
279 yield from _run_test_server(address=(host, port), use_ssl=use_ssl,
/third_party/node/deps/openssl/openssl/include/openssl/
H A 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/openssl/include/openssl/
H A 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/test-apps/android/app/src/main/jni/
H A 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/tls/openssl/
H A 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()
652 if (wsi->tls.use_ssl & avoid) { in lws_tls_client_confirm_peer_cert()
/third_party/libwebsockets/lib/roles/listen/
H A 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/
H A Dconnect4.c173 // && (!(wsi->tls.use_ssl & LCCSCF_USE_SSL) || wsi->tls.ssl) in lws_client_connect_4_established()
188 (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()
H A 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/curl/lib/
H A Dftp.h148 unsigned char use_ssl; /* if AUTH TLS is to be attempted etc, for FTP or member
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dmbedtls-client.c116 if (!(wsi->tls.use_ssl & LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK)) { in lws_ssl_client_bio_create()
344 if (wsi->tls.use_ssl & avoid) { in lws_tls_client_confirm_peer_cert()
355 "server's cert didn't look good, %s (use_ssl 0x%x) X509_V_ERR = %d: %s\n", in lws_tls_client_confirm_peer_cert()
356 type, (unsigned int)wsi->tls.use_ssl, n, in lws_tls_client_confirm_peer_cert()
/third_party/libwebsockets/lib/roles/mqtt/client/
H A 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/
H A 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/node/deps/openssl/openssl/apps/
H A Docsp.c251 int accept_count = -1, add_nonce = 1, noverify = 0, use_ssl = -1; in ocsp_main() local
289 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()
1240 if (use_ssl == 1) { in process_responder()
1231 process_responder(OCSP_REQUEST *req, const char *host, const char *port, const char *path, const char *proxy, const char *no_proxy, int use_ssl, STACK_OF(CONF_VALUE) *headers, int req_timeout) process_responder() argument
/third_party/openssl/apps/
H A Docsp.c251 int accept_count = -1, add_nonce = 1, noverify = 0, use_ssl = -1; in ocsp_main() local
289 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()
1240 if (use_ssl == 1) { in process_responder()
1231 process_responder(OCSP_REQUEST *req, const char *host, const char *port, const char *path, const char *proxy, const char *no_proxy, int use_ssl, STACK_OF(CONF_VALUE) *headers, int req_timeout) process_responder() argument

Completed in 28 milliseconds

123