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

Diff for /src/usr.bin/openssl/certhash.c between version 1.8 and 1.9

version 1.8, 2015/03/05 17:15:48 version 1.9, 2015/07/19 03:05:32
Line 267 
Line 267 
         val = strtoll(l, &ep, 16);          val = strtoll(l, &ep, 16);
         if (l[0] == '\0' || *ep != '\0')          if (l[0] == '\0' || *ep != '\0')
                 goto err;                  goto err;
         if (errno == ERANGE && (val == LONG_MAX || val == LONG_MIN))          if (errno == ERANGE && (val == LLONG_MAX || val == LLONG_MIN))
                 goto err;                  goto err;
         if (val < 0 || val > ULONG_MAX)          if (val < 0 || val > ULONG_MAX)
                 goto err;                  goto err;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9