diff options
author | Nils Larsch <nils@openssl.org> | 2006-03-15 17:45:43 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-03-15 17:45:43 +0000 |
commit | 67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a (patch) | |
tree | 9a367d762cfb0e55a2b8d224d8e7e1928089387c /engines | |
parent | a4ff392503fbc9ccd50fb425a69e50a64058314c (diff) | |
download | openssl-67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a.tar.gz |
fix problems found by coverity: remove useless code
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_4758cca.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/e_4758cca.c b/engines/e_4758cca.c index 0f1dae7567..6bab385435 100644 --- a/engines/e_4758cca.c +++ b/engines/e_4758cca.c @@ -482,8 +482,6 @@ static EVP_PKEY *ibm_4758_load_privkey(ENGINE* e, const char* key_id, err: if (keyToken) OPENSSL_free(keyToken); - if (res) - EVP_PKEY_free(res); if (rtmp) RSA_free(rtmp); return NULL; @@ -560,8 +558,6 @@ static EVP_PKEY *ibm_4758_load_pubkey(ENGINE* e, const char* key_id, err: if (keyToken) OPENSSL_free(keyToken); - if (res) - EVP_PKEY_free(res); if (rtmp) RSA_free(rtmp); return NULL; |