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:35:00 +00:00
parent c4efde7403
commit edb7b28a00
2 changed files with 2 additions and 2 deletions

View file

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

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