version 1.17, 2019/11/06 10:35:40 |
version 1.18, 2019/11/06 11:16:16 |
|
|
|
|
if (verbose) |
if (verbose) |
BIO_printf(bio_err, "Using configuration from %s\n", template); |
BIO_printf(bio_err, "Using configuration from %s\n", template); |
req_conf = NCONF_new(NULL); |
if ((req_conf = NCONF_new(NULL)) == NULL) |
i = NCONF_load(req_conf, template, &errline); |
goto end; |
if (i == 0) { |
if(!NCONF_load(req_conf, template, &errline)) { |
BIO_printf(bio_err, "error on line %ld of %s\n", errline, template); |
BIO_printf(bio_err, "error on line %ld of %s\n", errline, template); |
goto end; |
goto end; |
} |
} |
|
|
if (verbose) |
if (verbose) |
BIO_printf(bio_err, |
BIO_printf(bio_err, |
"Using additional configuration from command line\n"); |
"Using additional configuration from command line\n"); |
addext_conf = NCONF_new(NULL); |
if ((addext_conf = NCONF_new(NULL)) == NULL) |
i = NCONF_load_bio(addext_conf, addext_bio, &errline); |
goto end; |
if (i == 0) { |
if (!NCONF_load_bio(addext_conf, addext_bio, &errline)) { |
BIO_printf(bio_err, |
BIO_printf(bio_err, |
"req: Error on line %ld of config input\n", |
"req: Error on line %ld of config input\n", |
errline); |
errline); |