diff options
author | Richard Levitte <levitte@openssl.org> | 2002-11-12 00:35:00 +0300 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-11-12 00:35:00 +0300 |
commit | edb7b28a002118a7b3e9c4f45ab61e8bfc5cc5db (patch) | |
tree | ce0fa19e0ec3f318cdf484f970b200106b5ca8cb /apps | |
parent | c4efde740398e7e9e1ba04dcd794e480461f0180 (diff) |
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')
-rw-r--r-- | apps/req.c | 2 | ||||
-rw-r--r-- | apps/x509.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c index a3c1e0b4c4..89ff075d88 100644 --- a/apps/req.c +++ b/apps/req.c @@ -485,7 +485,7 @@ bad: if (template != NULL) { - long errline; + long errline = -1; if( verbose ) BIO_printf(bio_err,"Using configuration from %s\n",template); diff --git a/apps/x509.c b/apps/x509.c index 0e364e3538..d5e4f9e63d 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)) |