summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-07-15 17:44:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-07-15 17:44:21 +0000
commitd38e251e0810053960479376970c61e8d8394dae (patch)
tree949ae91a7595572a4421af6571abd9168eb0eca2 /lib
parent29a97f4bee71f33baa74a3e2c9d69b63b076eb66 (diff)
Remove dead code. Coverity CID 21688
ok beck@
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/pkcs7/pk7_doit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/src/crypto/pkcs7/pk7_doit.c b/lib/libssl/src/crypto/pkcs7/pk7_doit.c
index d0cf84df80b..5631d35712a 100644
--- a/lib/libssl/src/crypto/pkcs7/pk7_doit.c
+++ b/lib/libssl/src/crypto/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);