HomeSort by: relevance | last modified time | path
    Searched defs:ssl_ctx (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/crypto/external/apache2/openssl/dist/demos/bio/
sconnect.c 40 SSL_CTX *ssl_ctx = NULL; local
55 ssl_ctx = SSL_CTX_new(TLS_client_method());
58 SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER, NULL);
59 if (!SSL_CTX_load_verify_locations(ssl_ctx, CAfile, NULL))
63 ssl = SSL_new(ssl_ctx);
132 SSL_CTX_free(ssl_ctx);
  /src/crypto/external/bsd/openssl/dist/demos/bio/
sconnect.c 36 SSL_CTX *ssl_ctx = NULL; local
51 ssl_ctx = SSL_CTX_new(TLS_client_method());
54 SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER, NULL);
55 SSL_CTX_load_verify_locations(ssl_ctx, CAfile, NULL);
58 ssl = SSL_new(ssl_ctx);
126 SSL_CTX_free(ssl_ctx);
  /src/crypto/external/bsd/openssl.old/dist/demos/bio/
sconnect.c 36 SSL_CTX *ssl_ctx = NULL; local
55 ssl_ctx = SSL_CTX_new(TLS_client_method());
58 SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER, NULL);
59 SSL_CTX_load_verify_locations(ssl_ctx, CAfile, NULL);
62 ssl = SSL_new(ssl_ctx);
127 SSL_CTX_free(ssl_ctx);
  /src/share/examples/refuse/ian/libfetch/
common.h 57 SSL_CTX *ssl_ctx; /* SSL context */ member in struct:fetchconn
  /src/external/bsd/wpa/dist/src/eap_peer/
eap_tls_common.h 68 * ssl_ctx - TLS library context to use for the connection
70 void *ssl_ctx; member in struct:eap_ssl_data
eap_tls.c 26 void *ssl_ctx; member in struct:eap_tls_data
56 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
57 sm->ssl_ctx;
92 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
93 sm->ssl_ctx;
119 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
120 sm->ssl_ctx;
318 if (tls_connection_established(data->ssl_ctx, data->ssl.conn) &&
334 return tls_connection_established(data->ssl_ctx, data->ssl.conn);
eap_i.h 360 void *ssl_ctx; member in struct:eap_sm
  /src/crypto/external/apache2/openssl/dist/demos/sslecho/
main.c 74 static SSL_CTX *create_context(flag isServer)
77 SSL_CTX *ctx;
94 static void configure_server_context(SSL_CTX *ctx)
108 static void configure_client_context(SSL_CTX *ctx)
141 SSL_CTX *ssl_ctx = NULL; local
189 ssl_ctx = create_context(isServer);
197 configure_server_context(ssl_ctx);
219 ssl = SSL_new(ssl_ctx);
282 configure_client_context(ssl_ctx);
    [all...]
  /src/external/bsd/fetch/dist/libfetch/
common.h 76 SSL_CTX *ssl_ctx; /* SSL context */ member in struct:fetchconn
  /src/external/bsd/libevent/dist/sample/
le-proxy.c 49 static SSL_CTX *ssl_ctx = NULL; variable
172 if (!ssl_ctx || use_wrapper)
176 SSL *ssl = SSL_new(ssl_ctx);
192 if (ssl_ctx && use_wrapper) {
194 SSL *ssl = SSL_new(ssl_ctx);
287 ssl_ctx = SSL_CTX_new(TLS_method());
https-client.c 229 SSL_CTX *ssl_ctx = NULL; local
361 ssl_ctx = SSL_CTX_new(SSLv23_method());
362 if (!ssl_ctx) {
370 store = SSL_CTX_get_cert_store(ssl_ctx);
384 if (SSL_CTX_load_verify_locations(ssl_ctx, crt, NULL) != 1) {
397 SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER, NULL);
411 SSL_CTX_set_cert_verify_callback(ssl_ctx, cert_verify_callback,
422 ssl = SSL_new(ssl_ctx);
519 if (ssl_ctx)
    [all...]
  /src/crypto/external/apache2/openssl/dist/apps/include/
apps.h 163 __owur int ctx_set_verify_locations(SSL_CTX *ctx,
175 __owur int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
289 SSL_CTX *ssl_ctx; member in struct:app_http_tls_info_st
296 const char *no_proxy, SSL_CTX *ssl_ctx,
302 const char *no_proxy, SSL_CTX *ctx,
  /src/crypto/external/bsd/openssl/dist/apps/include/
apps.h 156 __owur int ctx_set_verify_locations(SSL_CTX *ctx,
168 __owur int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
281 SSL_CTX *ssl_ctx; member in struct:app_http_tls_info_st
288 const char *no_proxy, SSL_CTX *ssl_ctx,
294 const char *no_proxy, SSL_CTX *ctx,
  /src/external/bsd/nsd/dist/
xfrd-tcp.h 48 SSL_CTX* ssl_ctx; member in struct:xfrd_tcp_set
  /src/crypto/external/apache2/openssl/dist/test/
danetest.c 58 SSL_CTX *ssl_ctx = NULL; local
64 || !TEST_ptr(ssl_ctx = SSL_get_SSL_CTX(ssl))
65 || !TEST_ptr(store = SSL_CTX_get_cert_store(ssl_ctx))
290 static int test_tlsafile(SSL_CTX *ctx, const char *base_name,
387 SSL_CTX *ctx = NULL;
quicapitest.c 53 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());
54 SSL_CTX *sctx = NULL;
215 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());
216 SSL_CTX *sctx = NULL;
288 SSL_CTX *ctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());
346 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());
399 SSL_CTX *cctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method());
436 SSL_CTX *cctx = NULL;
557 SSL_CTX *cctx = NULL;
651 SSL_CTX *ctx = NULL
2531 SSL_CTX *ssl_ctx; local
2543 SSL_CTX *ssl_ctx; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
danetest.c 58 SSL_CTX *ssl_ctx = NULL; local
64 || !TEST_ptr(ssl_ctx = SSL_get_SSL_CTX(ssl))
65 || !TEST_ptr(store = SSL_CTX_get_cert_store(ssl_ctx))
290 static int test_tlsafile(SSL_CTX *ctx, const char *base_name,
386 SSL_CTX *ctx = NULL;
  /src/crypto/external/bsd/openssl.old/dist/test/
danetest.c 58 SSL_CTX *ssl_ctx = NULL; local
65 || !TEST_ptr(ssl_ctx = SSL_get_SSL_CTX(ssl))
66 || !TEST_ptr(store = SSL_CTX_get_cert_store(ssl_ctx))
293 static int test_tlsafile(SSL_CTX *ctx, const char *base_name,
389 SSL_CTX *ctx = NULL;
  /src/external/bsd/unbound/dist/dnstap/
dtstream.h 142 /** ssl context for the io thread, for tls connections. type SSL_CTX* */
143 void* ssl_ctx; member in struct:dt_io_thread
  /src/crypto/external/bsd/openssl.old/dist/test/ossl_shim/
ossl_shim.cc 534 static bssl::UniquePtr<SSL_CTX> SetupCtx(const TestConfig *config) {
536 bssl::UniquePtr<SSL_CTX> ssl_ctx(SSL_CTX_new(
538 if (!ssl_ctx) {
542 SSL_CTX_set_security_level(ssl_ctx.get(), 0);
547 !SSL_CTX_set_max_proto_version(ssl_ctx.get(), TLS1_3_VERSION)) {
553 !SSL_CTX_set_max_proto_version(ssl_ctx.get(), TLS1_2_VERSION)) {
561 SSL_CTX_set_options(ssl_ctx.get(), SSL_OP_CIPHER_SERVER_PREFERENCE);
563 if (!SSL_CTX_set_cipher_list(ssl_ctx.get(), cipher_list.c_str())) {
603 if (!dh || !SSL_CTX_set_tmp_dh(ssl_ctx.get(), dh.get()))
1270 bssl::UniquePtr<SSL_CTX> ssl_ctx = SetupCtx(&config); local
    [all...]
  /src/external/ibm-public/postfix/dist/src/tls/
tls_dane.c 53 /* SSL_CTX *ctx;
854 void tls_dane_digest_init(SSL_CTX *ctx, const EVP_MD *fpt_alg)
1063 SSL_CTX *ssl_ctx = SSL_get_SSL_CTX(ssl); local
1064 X509_STORE *store = SSL_CTX_get_cert_store(ssl_ctx);
1290 static SSL_CTX *ctx_init(const char *CAfile)
1292 SSL_CTX *client_ctx;
1303 msg_fatal("cannot allocate client SSL_CTX");
1322 SSL_CTX *ssl_ctx; local
    [all...]
tls.h 340 SSL_CTX *ssl_ctx; member in struct:TLS_APPL_STATE
341 SSL_CTX *sni_ctx;
674 extern void tls_tmp_dh(SSL_CTX *, int);
675 extern void tls_auto_groups(SSL_CTX *, const char *, const char *);
689 extern void tls_dane_digest_init(SSL_CTX *, const EVP_MD *);
707 extern int tls_set_ca_certificate_info(SSL_CTX *, const char *, const char *);
709 extern int tls_set_my_certificate_key_info(SSL_CTX *, /* All */ const char *,
719 extern TLS_APPL_STATE *tls_alloc_app_context(SSL_CTX *, SSL_CTX *, int)
    [all...]
  /src/external/bsd/wpa/dist/src/eap_server/
eap.h 112 * ssl_ctx - TLS context
117 void *ssl_ctx; member in struct:eap_config
  /src/external/bsd/wpa/dist/src/crypto/
tls_wolfssl.c 228 WOLFSSL_CTX *ssl_ctx; local
254 ssl_ctx = wolfSSL_CTX_new(wolfSSLv23_client_method());
255 if (!ssl_ctx) {
264 wolfSSL_SetIORecv(ssl_ctx, wolfssl_receive_cb);
265 wolfSSL_SetIOSend(ssl_ctx, wolfssl_send_cb);
267 wolfSSL_CTX_set_ex_data(ssl_ctx, 0, context);
270 wolfSSL_CTX_set_session_id_context(ssl_ctx,
273 wolfSSL_CTX_set_quiet_shutdown(ssl_ctx, 1);
274 wolfSSL_CTX_set_session_cache_mode(ssl_ctx,
276 wolfSSL_CTX_set_timeout(ssl_ctx, conf->tls_session_lifetime)
338 WOLFSSL_CTX *ssl_ctx = tls_ctx; local
    [all...]
  /src/external/bsd/wpa/dist/src/utils/
http_curl.c 981 SSL_CTX *ssl_ctx; local
985 ssl_ctx = SSL_get_SSL_CTX(ssl);
986 ctx = SSL_CTX_get_app_data(ssl_ctx);
1021 res = check_ocsp_resp(ssl_ctx, ssl, cert, ctx->peer_issuer,
1277 SSL_CTX *ssl = SSL_get_SSL_CTX(s);
1296 SSL_CTX *ssl = sslctx;

Completed in 32 milliseconds

1 2