From 793de8399c4c59ad409bd04add3870236e848575 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 24 Apr 2016 16:19:45 +0200 Subject: [PATCH] lib: dont call EVP_cleanup in fp2str Calling EVP_cleanup here undoes initialization already done in lib/fetch/common.c ssl_init() causing subsequent attempts to call SSL_CTX_new() to fail. Which ultimately is the root cause for #170. Fixes #170 --- lib/pubkey2fp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/pubkey2fp.c b/lib/pubkey2fp.c index d4f32792..2cfe7178 100644 --- a/lib/pubkey2fp.c +++ b/lib/pubkey2fp.c @@ -160,8 +160,5 @@ out: if (pEncoding) free(pEncoding); - EVP_cleanup(); - ERR_free_strings(); - return hexfpstr; }