MCPcopy Create free account
hub / github.com/Icinga/icinga2 / GetOpenSSLError

Function GetOpenSSLError

test/base-tlsutility.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static String GetOpenSSLError()
53{
54 std::array<char, 256> errBuf;
55 ERR_error_string_n(ERR_get_error(), errBuf.data(), errBuf.size());
56 return {errBuf.data()};
57}
58
59static std::shared_ptr<EVP_PKEY> GetRsaPrivateKey(const String& keyfile)
60{

Callers 3

GetRsaPrivateKeyFunction · 0.85
FormatAsn1TimeFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected