[BACK]Return to req.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/req.c between version 1.17 and 1.18

version 1.17, 2019/11/06 10:35:40 version 1.18, 2019/11/06 11:16:16
Line 416 
Line 416 
   
                 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;
                 }                  }
Line 439 
Line 439 
                 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);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18