1 parent a4c6c2c commit 348806aCopy full SHA for 348806a
1 file changed
trantor/net/inner/tlsprovider/OpenSSLProvider.cc
@@ -196,8 +196,7 @@ struct SSLContext
196
#if OPENSSL_VERSION_NUMBER >= 0x10101000L
197
// Preserve stricter protocol settings from sslConfCmds while
198
// enforcing TLS 1.2 as the minimum secure default.
199
- const auto minProtoVersion =
200
- SSL_CTX_get_min_proto_version(ctx_);
+ const auto minProtoVersion = SSL_CTX_get_min_proto_version(ctx_);
201
if (minProtoVersion == 0 || minProtoVersion < TLS1_2_VERSION)
202
{
203
SSL_CTX_set_min_proto_version(ctx_, TLS1_2_VERSION);
0 commit comments