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
1dc179b4f4
commit
3baca7eedd
2 changed files with 2 additions and 2 deletions
|
@ -422,7 +422,7 @@ bad:
|
||||||
|
|
||||||
if (template != NULL)
|
if (template != NULL)
|
||||||
{
|
{
|
||||||
long errline;
|
long errline = -1;
|
||||||
|
|
||||||
BIO_printf(bio_err,"Using configuration from %s\n",template);
|
BIO_printf(bio_err,"Using configuration from %s\n",template);
|
||||||
req_conf=CONF_load(NULL,template,&errline);
|
req_conf=CONF_load(NULL,template,&errline);
|
||||||
|
|
|
@ -447,7 +447,7 @@ bad:
|
||||||
|
|
||||||
if (extfile)
|
if (extfile)
|
||||||
{
|
{
|
||||||
long errorline;
|
long errorline = -1;
|
||||||
X509V3_CTX ctx2;
|
X509V3_CTX ctx2;
|
||||||
if (!(extconf=CONF_load(NULL,extfile,&errorline)))
|
if (!(extconf=CONF_load(NULL,extfile,&errorline)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue