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

Diff for /src/usr.bin/openssl/apps.c between version 1.52 and 1.53

version 1.52, 2019/06/28 13:35:02 version 1.53, 2019/07/03 03:24:02
Line 1328 
Line 1328 
         else          else
                 n = snprintf(serialpath, sizeof serialpath, "%s.%s",                  n = snprintf(serialpath, sizeof serialpath, "%s.%s",
                     serialfile, suffix);                      serialfile, suffix);
         if (n == -1 || n >= sizeof(serialpath)) {          if (n < 0 || n >= sizeof(serialpath)) {
                 BIO_printf(bio_err, "serial too long\n");                  BIO_printf(bio_err, "serial too long\n");
                 goto err;                  goto err;
         }          }

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53