diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-07-15 17:44:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-07-15 17:44:21 +0000 |
commit | 28ade89e30cb0b7dfc59d87028fed14d7458d943 (patch) | |
tree | 8900148dc9b9966813c407b1439eb98fa287646e /lib/libcrypto/pkcs7 | |
parent | 0af6897f0c17228a0439eb129d38f68f137b01a0 (diff) |
Remove dead code. Coverity CID 21688
ok beck@
Diffstat (limited to 'lib/libcrypto/pkcs7')
-rw-r--r-- | lib/libcrypto/pkcs7/pk7_doit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libcrypto/pkcs7/pk7_doit.c b/lib/libcrypto/pkcs7/pk7_doit.c index d0cf84df80b..5631d35712a 100644 --- a/lib/libcrypto/pkcs7/pk7_doit.c +++ b/lib/libcrypto/pkcs7/pk7_doit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pk7_doit.c,v 1.32 2015/03/19 14:00:22 tedu Exp $ */ +/* $OpenBSD: pk7_doit.c,v 1.33 2015/07/15 17:44:20 miod Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -631,7 +631,6 @@ PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert) goto err; } BIO_push(out, bio); - bio = NULL; if (0) { err: @@ -649,8 +648,6 @@ err: BIO_free_all(btmp); if (etmp != NULL) BIO_free_all(etmp); - if (bio != NULL) - BIO_free_all(bio); out = NULL; } return (out); |