mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
25 lines
291 B
C++
25 lines
291 B
C++
#include "UseSSL.h"
|
|
|
|
#include <Common/config.h>
|
|
|
|
#if USE_POCO_NETSSL
|
|
#include <Poco/Net/SSLManager.h>
|
|
#endif
|
|
|
|
namespace DB
|
|
{
|
|
UseSSL::UseSSL()
|
|
{
|
|
#if USE_POCO_NETSSL
|
|
Poco::Net::initializeSSL();
|
|
#endif
|
|
}
|
|
|
|
UseSSL::~UseSSL()
|
|
{
|
|
#if USE_POCO_NETSSL
|
|
Poco::Net::uninitializeSSL();
|
|
#endif
|
|
}
|
|
}
|