summaryrefslogtreecommitdiffstats
path: root/engines/e_chil.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/e_chil.c')
-rw-r--r--engines/e_chil.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/e_chil.c b/engines/e_chil.c
index fca7a9c..fdc2100 100644
--- a/engines/e_chil.c
+++ b/engines/e_chil.c
@@ -227,7 +227,6 @@ static RAND_METHOD hwcrhk_rand =
/* Constants used when creating the ENGINE */
static const char *engine_hwcrhk_id = "chil";
static const char *engine_hwcrhk_name = "CHIL hardware engine support";
-
#ifndef OPENSSL_NO_DYNAMIC_ENGINE
/* Compatibility hack, the dynamic library uses this form in the path */
static const char *engine_hwcrhk_id_alt = "ncipher";
@@ -842,8 +841,6 @@ static EVP_PKEY *hwcrhk_load_privkey(ENGINE *eng, const char *key_id,
return res;
err:
- if (res)
- EVP_PKEY_free(res);
#ifndef OPENSSL_NO_RSA
if (rtmp)
RSA_free(rtmp);
OpenPOWER on IntegriCloud