Searched refs:sslCtx (Results 1 – 1 of 1) sorted by relevance
6987 bssl::UniquePtr<SSL_CTX> sslCtx(SSL_CTX_new(TLS_with_buffers_method())); in NativeCrypto_SSL_CTX_new() local6988 if (sslCtx.get() == nullptr) { in NativeCrypto_SSL_CTX_new()6993 sslCtx.get(), in NativeCrypto_SSL_CTX_new()7001 SSL_CTX_set_min_proto_version(sslCtx.get(), TLS1_VERSION); in NativeCrypto_SSL_CTX_new()7002 SSL_CTX_set_max_proto_version(sslCtx.get(), TLS1_2_VERSION); in NativeCrypto_SSL_CTX_new()7004 uint32_t mode = SSL_CTX_get_mode(sslCtx.get()); in NativeCrypto_SSL_CTX_new()7028 SSL_CTX_set_mode(sslCtx.get(), mode); in NativeCrypto_SSL_CTX_new()7030 SSL_CTX_set_info_callback(sslCtx.get(), info_callback); in NativeCrypto_SSL_CTX_new()7031 SSL_CTX_set_cert_cb(sslCtx.get(), cert_cb, nullptr); in NativeCrypto_SSL_CTX_new()7032 SSL_CTX_set_select_certificate_cb(sslCtx.get(), select_certificate_cb); in NativeCrypto_SSL_CTX_new()[all …]