Drop extra EVP_PKEY_free call

This commit is contained in:
Davide De Rosa 2019-04-27 10:44:00 +02:00
parent 212ef481dc
commit e0c06ece18
1 changed files with 0 additions and 1 deletions

View File

@ -148,7 +148,6 @@ int TLSBoxVerifyPeer(int ok, X509_STORE_CTX *ctx) {
BIO *output = BIO_new(BIO_s_mem());
if (!PEM_write_bio_PKCS8PrivateKey(output, evpKey, NULL, NULL, 0, NULL, NULL)) {
BIO_free(output);
EVP_PKEY_free(evpKey);
return NULL;
}