patch-digest_c 558 B

123456789101112
  1. --- openssh-6.5p1.orig/digest.c 2014-01-20 02:41:53.000000000 +0100
  2. +++ openssh-6.5p1/digest.c 2014-02-11 17:41:23.000000000 +0100
  3. @@ -44,7 +44,9 @@ struct ssh_digest {
  4. /* NB. Indexed directly by algorithm number */
  5. const struct ssh_digest digests[] = {
  6. { SSH_DIGEST_MD5, "MD5", 16, EVP_md5 },
  7. +#ifndef OPENSSL_NO_RIPEMD
  8. { SSH_DIGEST_RIPEMD160, "RIPEMD160", 20, EVP_ripemd160 },
  9. +#endif
  10. { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
  11. #ifdef HAVE_EVP_SHA256 /* XXX replace with local if missing */
  12. { SSH_DIGEST_SHA256, "SHA256", 32, EVP_sha256 },