diff options
author | 2015-07-15 17:44:20 +0000 | |
---|---|---|
committer | 2015-07-15 17:44:20 +0000 | |
commit | 9f970831bb68b1275b6333ea197f6684993f0762 (patch) | |
tree | ac1e7a22716ec5120f0e097e242aca89741d865e /lib/libssl/src | |
parent | Fix two theoretical NULL pointer dereferences which can only happen if you (diff) | |
download | wireguard-openbsd-9f970831bb68b1275b6333ea197f6684993f0762.tar.xz wireguard-openbsd-9f970831bb68b1275b6333ea197f6684993f0762.zip |
Remove dead code. Coverity CID 21688
ok beck@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/pkcs7/pk7_doit.c | 5 |
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); |