0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::openssl: Add a linked version check.

This commit is contained in:
Jason Volk 2019-02-18 15:11:09 -08:00
parent dbbc22d98a
commit 3d7d15685e

View file

@ -1390,6 +1390,15 @@ const
ircd::openssl::init::init()
{
const auto v(version());
if(v.first != v.second)
log::warning
{
"Linked OpenSSL version '%s' is not the compiled OpenSSL version '%s'",
v.first,
v.second
};
OPENSSL_init();
ERR_load_crypto_strings();
ERR_load_ERR_strings();