diff --git a/test/regress_openssl.c b/test/regress_openssl.c index 6bddb65394..3ea767c6c9 100644 --- a/test/regress_openssl.c +++ b/test/regress_openssl.c @@ -153,6 +153,7 @@ init_ssl(void) #if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ (defined(LIBRESSL_VERSION_NUMBER) && \ LIBRESSL_VERSION_NUMBER < 0x20700000L) + /* NOTE: you should destroy every global objects to avoid leaks, see lsan.supp */ SSL_library_init(); ERR_load_crypto_strings(); SSL_load_error_strings();