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
This commit is contained in:
Michael Gehring 2016-04-24 16:19:45 +02:00
parent 447a2f43ad
commit 793de8399c

View File

@ -160,8 +160,5 @@ out:
if (pEncoding)
free(pEncoding);
EVP_cleanup();
ERR_free_strings();
return hexfpstr;
}