| 23 | using namespace OpenRCT2::Crypt; |
| 24 | |
| 25 | static void OpenSSLThrowOnBadStatus(std::string_view name, int status) |
| 26 | { |
| 27 | if (status != 1) |
| 28 | { |
| 29 | throw std::runtime_error(std::string(name) + " failed: " + std::to_string(status)); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | static void OpenSSLInitialise() |
| 34 | { |
no outgoing calls
no test coverage detected