summaryrefslogtreecommitdiffstats
path: root/apps/rsa.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-15 18:45:43 +0100
committerNils Larsch <nils@openssl.org>2006-03-15 18:45:43 +0100
commit67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a (patch)
tree9a367d762cfb0e55a2b8d224d8e7e1928089387c /apps/rsa.c
parenttlsext_ecpointformatlist_length is unsigned, so check if it's less (diff)
downloadopenssl-67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a.tar.xz
openssl-67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a.zip
fix problems found by coverity: remove useless code
Diffstat (limited to 'apps/rsa.c')
-rw-r--r--apps/rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/rsa.c b/apps/rsa.c
index 1e2cd2f0d7..3166c6ad72 100644
--- a/apps/rsa.c
+++ b/apps/rsa.c
@@ -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);
}