mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-08 11:53:00 -04:00
Warn when openssl version in unit test mismatches compiled version.
This commit is contained in:
parent
c2f30863e2
commit
ac009f9245
@ -158,6 +158,9 @@ init_ssl(void)
|
||||
ERR_load_crypto_strings();
|
||||
SSL_load_error_strings();
|
||||
OpenSSL_add_all_algorithms();
|
||||
if (SSLeay() != OPENSSL_VERSION_NUMBER) {
|
||||
TT_DECLARE("WARN", ("Version mismatch for openssl: compiled with %lx but running with %lx", OPENSSL_VERSION_NUMBER, SSLeay()));
|
||||
}
|
||||
}
|
||||
|
||||
/* ====================
|
||||
|
Loading…
x
Reference in New Issue
Block a user