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
This commit is contained in:
Richard Levitte 2002-11-11 21:34:21 +00:00
parent 6722b62b36
commit 06b7c8d5ba
2 changed files with 2 additions and 2 deletions

View File

@ -542,7 +542,7 @@ bad:
if (template != NULL)
{
long errline;
long errline = -1;
if( verbose )
BIO_printf(bio_err,"Using configuration from %s\n",template);

View File

@ -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))