aboutsummaryrefslogtreecommitdiff
path: root/openssl/engines/e_sureware.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/engines/e_sureware.c')
-rw-r--r--openssl/engines/e_sureware.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openssl/engines/e_sureware.c b/openssl/engines/e_sureware.c
index 58fa9a98e..cd0fa4c39 100644
--- a/openssl/engines/e_sureware.c
+++ b/openssl/engines/e_sureware.c
@@ -758,8 +758,6 @@ static EVP_PKEY* sureware_load_public(ENGINE *e,const char *key_id,char *hptr,un
}
return res;
err:
- if (res)
- EVP_PKEY_free(res);
#ifndef OPENSSL_NO_RSA
if (rsatmp)
RSA_free(rsatmp);