diff options
author | 2015-07-19 01:20:32 +0000 | |
---|---|---|
committer | 2015-07-19 01:20:32 +0000 | |
commit | db2ec917ac0c9dcb0deb653c1bd3b33673532481 (patch) | |
tree | cb3a9061a5a966a16b04fc0d31653581d5a5fbb9 /lib/libssl/src | |
parent | sudo emulation: if execvpe fails with ENOENT, print "command not found" (diff) | |
download | wireguard-openbsd-db2ec917ac0c9dcb0deb653c1bd3b33673532481.tar.xz wireguard-openbsd-db2ec917ac0c9dcb0deb653c1bd3b33673532481.zip |
Remove case that can never happen.
It's a little convoluted due to gotos, but at that point, pci is always
NULL. Spotted by Coverity 21702.
ok miod@ beck@ bcook@
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/x509v3/v3_pci.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libssl/src/crypto/x509v3/v3_pci.c b/lib/libssl/src/crypto/x509v3/v3_pci.c index d3f73352d9a..d19f5a6e61e 100644 --- a/lib/libssl/src/crypto/x509v3/v3_pci.c +++ b/lib/libssl/src/crypto/x509v3/v3_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: v3_pci.c,v 1.8 2014/07/11 08:44:49 jsing Exp $ */ +/* $OpenBSD: v3_pci.c,v 1.9 2015/07/19 01:20:32 doug Exp $ */ /* Contributed to the OpenSSL Project 2004 * by Richard Levitte (richard@levitte.org) */ @@ -317,10 +317,6 @@ err: ASN1_OCTET_STRING_free(policy); policy = NULL; } - if (pci) { - PROXY_CERT_INFO_EXTENSION_free(pci); - pci = NULL; - } end: sk_CONF_VALUE_pop_free(vals, X509V3_conf_free); return pci; |