Fix tabs instead of spaces

This commit is contained in:
Anton Ivashkin 2024-05-17 14:53:43 +02:00
parent 20b23b0ff9
commit 183223b7ba
2 changed files with 4 additions and 4 deletions

View File

@ -61,8 +61,8 @@ DB::TLSHandler::TLSHandler(const StreamSocket & socket, const LayeredConfigurati
disabled_protocols |= Context::PROTO_TLSV1_2;
}
extended_verification = config.getBool(prefix + SSLManager::CFG_EXTENDED_VERIFICATION, false);
prefer_server_ciphers = config.getBool(prefix + SSLManager::CFG_PREFER_SERVER_CIPHERS, false);
extended_verification = config.getBool(prefix + SSLManager::CFG_EXTENDED_VERIFICATION, false);
prefer_server_ciphers = config.getBool(prefix + SSLManager::CFG_PREFER_SERVER_CIPHERS, false);
}
#endif
}

View File

@ -42,9 +42,9 @@ public:
{
ctx = new Context(usage, params);
ctx->disableProtocols(disabled_protocols);
ctx->enableExtendedCertificateVerification(extended_verification);
ctx->enableExtendedCertificateVerification(extended_verification);
if (prefer_server_ciphers)
ctx->preferServerCiphers();
ctx->preferServerCiphers();
}
socket() = SecureStreamSocket::attach(socket(), ctx);
stack_data.socket = socket();