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

Diff for /src/usr.bin/ssh/digest-openssl.c between version 1.8 and 1.9

version 1.8, 2018/09/13 02:08:33 version 1.9, 2020/10/29 02:52:43
Line 40 
Line 40 
   
 /* NB. Indexed directly by algorithm number */  /* NB. Indexed directly by algorithm number */
 const struct ssh_digest digests[] = {  const struct ssh_digest digests[] = {
         { SSH_DIGEST_MD5,       "MD5",          16,     EVP_md5 },          { SSH_DIGEST_MD5,       "MD5",          16,     EVP_md5 },
         { SSH_DIGEST_SHA1,      "SHA1",         20,     EVP_sha1 },          { SSH_DIGEST_SHA1,      "SHA1",         20,     EVP_sha1 },
         { SSH_DIGEST_SHA256,    "SHA256",       32,     EVP_sha256 },          { SSH_DIGEST_SHA256,    "SHA256",       32,     EVP_sha256 },
         { SSH_DIGEST_SHA384,    "SHA384",       48,     EVP_sha384 },          { SSH_DIGEST_SHA384,    "SHA384",       48,     EVP_sha384 },
         { SSH_DIGEST_SHA512,    "SHA512",       64,     EVP_sha512 },          { SSH_DIGEST_SHA512,    "SHA512",       64,     EVP_sha512 },
         { -1,                   NULL,           0,      NULL },          { -1,                   NULL,           0,      NULL },
 };  };
   

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