summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2015-07-19 01:10:26 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2015-07-19 01:10:26 +0000
commitf8cd142fd5018aa33dbe1f017bc6d1a423987f37 (patch)
tree273a0ccf572ce31089e870b519be8f21b5ff28c8 /usr.bin
parent2cc74fe76a6d4008c7e39afad544fd3b096fcd7b (diff)
Remove effectively unused variable.
Fixes Coverity issue 21693. ok beck@ bcook@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/openssl/ca.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/openssl/ca.c b/usr.bin/openssl/ca.c
index da195985371..74fd8193d3f 100644
--- a/usr.bin/openssl/ca.c
+++ b/usr.bin/openssl/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.5 2015/02/08 10:22:45 doug Exp $ */
+/* $OpenBSD: ca.c,v 1.6 2015/07/19 01:10:25 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -2039,7 +2039,6 @@ certify_spkac(X509 ** xret, char *infile, EVP_PKEY * pkey, X509 * x509,
char *type, *buf;
EVP_PKEY *pktmp = NULL;
X509_NAME *n = NULL;
- X509_NAME_ENTRY *ne = NULL;
int ok = -1, i, j;
long errline;
int nid;
@@ -2154,8 +2153,6 @@ err:
CONF_free(parms);
if (spki != NULL)
NETSCAPE_SPKI_free(spki);
- if (ne != NULL)
- X509_NAME_ENTRY_free(ne);
return (ok);
}