aboutsummaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-11-11 21:34:21 +0000
committerRichard Levitte <levitte@openssl.org>2002-11-11 21:34:21 +0000
commit06b7c8d5baa8be9300b5a038f4d967c06a3a73f9 (patch)
treefd4f739b3849703d244e966b04f1b1187095deee /apps/x509.c
parent6722b62b36436e4a4ee029c9ea8974cd175adf72 (diff)
downloadopenssl-06b7c8d5baa8be9300b5a038f4d967c06a3a73f9.tar.gz
Variables on the stack must be initialized or we can't depend on any
initial value. For errline/errorline, we did depend on that, erroneously
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 12b269f9ab..8e4462dae7 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -479,7 +479,7 @@ bad:
if (extfile)
{
- long errorline;
+ long errorline = -1;
X509V3_CTX ctx2;
extconf = NCONF_new(NULL);
if (!NCONF_load(extconf, extfile,&errorline))