Skip to content

Commit 348806a

Browse files
committed
Fix OpenSSL provider formatting
1 parent a4c6c2c commit 348806a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

trantor/net/inner/tlsprovider/OpenSSLProvider.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ struct SSLContext
196196
#if OPENSSL_VERSION_NUMBER >= 0x10101000L
197197
// Preserve stricter protocol settings from sslConfCmds while
198198
// enforcing TLS 1.2 as the minimum secure default.
199-
const auto minProtoVersion =
200-
SSL_CTX_get_min_proto_version(ctx_);
199+
const auto minProtoVersion = SSL_CTX_get_min_proto_version(ctx_);
201200
if (minProtoVersion == 0 || minProtoVersion < TLS1_2_VERSION)
202201
{
203202
SSL_CTX_set_min_proto_version(ctx_, TLS1_2_VERSION);

0 commit comments

Comments
 (0)