From 3bfdf45893f28f232c5851eb67d1800dc5004687 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 21 Jul 2021 11:54:34 +0200 Subject: [PATCH] Don't call OPENSSL_cleanup(). Some versions of LibreSSL don't have this function, even if they support the rest of the OpenSSL 1.1 API. It also doesn't seem to affect the output of Valgrind, so it looks like it's not necessary at all. --- src/openssl/crypto.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openssl/crypto.c b/src/openssl/crypto.c index 7e020e61..bf9fe08a 100644 --- a/src/openssl/crypto.c +++ b/src/openssl/crypto.c @@ -20,7 +20,6 @@ #include "../system.h" #include -#include #include #include "../crypto.h" @@ -103,6 +102,5 @@ void crypto_init(void) { } void crypto_exit(void) { - OPENSSL_cleanup(); random_exit(); } -- 2.20.1