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

Function GetOpenSSLVersion

lib/base/tlsutility.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23static std::mutex l_RandomMutex;
24
25String GetOpenSSLVersion()
26{
27#if OPENSSL_VERSION_NUMBER >= 0x10100000L
28 return OpenSSL_version(OPENSSL_VERSION);
29#else /* OPENSSL_VERSION_NUMBER >= 0x10100000L */
30 return SSLeay_version(SSLEAY_VERSION);
31#endif /* OPENSSL_VERSION_NUMBER >= 0x10100000L */
32}
33
34#if OPENSSL_VERSION_NUMBER < 0x10100000L
35static std::mutex *l_Mutexes;

Callers 1

DisplayInfoMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected