mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Fix tabs instead of spaces
This commit is contained in:
parent
20b23b0ff9
commit
183223b7ba
@ -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
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user