Skip to content

Commit

Permalink
test: add a comment for init_ssl() about suppressions for LSan
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Aug 13, 2022
1 parent 99fd68a commit 4ca417a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/regress_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4ca417a

Please sign in to comment.