Searched refs:sslCtx (Results 1 – 1 of 1) sorted by relevance
5976 bssl::UniquePtr<SSL_CTX> sslCtx(SSL_CTX_new(SSLv23_method())); in NativeCrypto_SSL_CTX_new() local5977 if (sslCtx.get() == nullptr) { in NativeCrypto_SSL_CTX_new()5981 SSL_CTX_set_options(sslCtx.get(), in NativeCrypto_SSL_CTX_new()5992 uint32_t mode = SSL_CTX_get_mode(sslCtx.get()); in NativeCrypto_SSL_CTX_new()6016 SSL_CTX_set_mode(sslCtx.get(), mode); in NativeCrypto_SSL_CTX_new()6018 SSL_CTX_set_cert_verify_callback(sslCtx.get(), cert_verify_callback, nullptr); in NativeCrypto_SSL_CTX_new()6019 SSL_CTX_set_info_callback(sslCtx.get(), info_callback); in NativeCrypto_SSL_CTX_new()6020 SSL_CTX_set_cert_cb(sslCtx.get(), cert_cb, nullptr); in NativeCrypto_SSL_CTX_new()6022 SSL_CTX_set_keylog_callback(sslCtx.get(), debug_print_session_key); in NativeCrypto_SSL_CTX_new()6029 SSL_CTX_set_session_cache_mode(sslCtx.get(), SSL_SESS_CACHE_BOTH); in NativeCrypto_SSL_CTX_new()[all …]