| 50 | } |
| 51 | |
| 52 | static 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 | |
| 59 | static std::shared_ptr<EVP_PKEY> GetRsaPrivateKey(const String& keyfile) |
| 60 | { |
no test coverage detected