mirror of
https://github.com/openssl/openssl.git
synced 2024-11-25 19:13:48 +08:00
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:
parent
6722b62b36
commit
06b7c8d5ba
@ -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);
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user