- Fix to call OPENSSL_cleanup on exit when that is defined.

This commit is contained in:
W.C.A. Wijngaards
2026-07-24 17:04:38 +02:00
parent c21e3ee929
commit a45da353d3
6 changed files with 17 additions and 1 deletions
+3
View File
@@ -1445,6 +1445,9 @@ main(int argc, char* argv[])
# ifdef HAVE_RAND_CLEANUP
RAND_cleanup();
# endif
#ifdef HAVE_OPENSSL_CLEANUP
OPENSSL_cleanup();
#endif
#elif defined(HAVE_NSS)
if(NSS_Shutdown() != SECSuccess)
fatal_exit("could not shutdown NSS");