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

Diff for /src/usr.bin/openssl/x509.c between version 1.16 and 1.17

version 1.16, 2018/02/07 05:47:55 version 1.17, 2019/01/19 21:17:05
Line 788 
Line 788 
                                 const EVP_MD *fdig = digest;                                  const EVP_MD *fdig = digest;
   
                                 if (!fdig)                                  if (!fdig)
                                         fdig = EVP_sha1();                                          fdig = EVP_sha256();
   
                                 if (!X509_digest(x, fdig, md, &n)) {                                  if (!X509_digest(x, fdig, md, &n)) {
                                         BIO_printf(bio_err, "out of memory\n");                                          BIO_printf(bio_err, "out of memory\n");

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