mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
18 lines
400 B
C++
18 lines
400 B
C++
#pragma once
|
|
#include <Common/config.h>
|
|
#if USE_SSL
|
|
|
|
#include <Core/Types.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
/// Encodes `text` and puts the result to `out` which must be at least 32 bytes long.
|
|
void encodeSHA256(const std::string_view & text, unsigned char * out);
|
|
|
|
/// Returns concatenation of error strings for all errors that OpenSSL has recorded, emptying the error queue.
|
|
String getOpenSSLErrors();
|
|
|
|
}
|
|
#endif
|