fix problems found by coverity: remove useless code

This commit is contained in:
Nils Larsch
2006-03-15 17:45:43 +00:00
parent a4ff392503
commit 67b6f1ca88
17 changed files with 12 additions and 48 deletions

View File

@@ -282,7 +282,7 @@ bad:
passin, e, "Private Key");
if (pkey != NULL)
rsa = pkey == NULL ? NULL : EVP_PKEY_get1_RSA(pkey);
rsa = EVP_PKEY_get1_RSA(pkey);
EVP_PKEY_free(pkey);
}