summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-digest_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-17 22:24:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-17 22:24:44 +0100
commitda133cad10885ca36be26b1b043c737e295a4cd4 (patch)
tree3fb8e1189dce7188c4681144f96982d30c4511bd /package/openssh/patches/patch-digest_c
parent638c9f989542642d52859a56913ae5c2ace93e69 (diff)
parent642a45334676311b50bd2b45ae49c45f8b86c86d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: TODO
Diffstat (limited to 'package/openssh/patches/patch-digest_c')
-rw-r--r--package/openssh/patches/patch-digest_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/openssh/patches/patch-digest_c b/package/openssh/patches/patch-digest_c
new file mode 100644
index 000000000..feead7711
--- /dev/null
+++ b/package/openssh/patches/patch-digest_c
@@ -0,0 +1,12 @@
+--- openssh-6.5p1.orig/digest.c 2014-01-20 02:41:53.000000000 +0100
++++ openssh-6.5p1/digest.c 2014-02-11 17:41:23.000000000 +0100
+@@ -44,7 +44,9 @@ struct ssh_digest {
+ /* NB. Indexed directly by algorithm number */
+ const struct ssh_digest digests[] = {
+ { SSH_DIGEST_MD5, "MD5", 16, EVP_md5 },
++#ifndef OPENSSL_NO_RIPEMD
+ { SSH_DIGEST_RIPEMD160, "RIPEMD160", 20, EVP_ripemd160 },
++#endif
+ { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
+ #ifdef HAVE_EVP_SHA256 /* XXX replace with local if missing */
+ { SSH_DIGEST_SHA256, "SHA256", 32, EVP_sha256 },