diff --git a/test/regress_ssl.c b/test/regress_ssl.c index 1be32036..271a962f 100644 --- a/test/regress_ssl.c +++ b/test/regress_ssl.c @@ -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())); + } } /* ====================