mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-17 22:10:54 +00:00
21 lines
444 B
C++
21 lines
444 B
C++
#pragma once
|
|
|
|
#if !defined(ARCADIA_BUILD)
|
|
# include <Common/config.h>
|
|
#endif
|
|
|
|
#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
|