Bugzilla – Attachment 2446 Details for
Bug 2248
Conditionally include RIPEMD support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check for EVP_ripemd160
ripe.diff (text/plain), 1.51 KB, created by
Damien Miller
on 2014-07-03 11:52:44 AEST
(
hide
)
Description:
Check for EVP_ripemd160
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2014-07-03 11:52:44 AEST
Size:
1.51 KB
patch
obsolete
>? _buildit >? inprogress-devrand.diff >Index: configure.ac >=================================================================== >RCS file: /var/cvs/openssh/configure.ac,v >retrieving revision 1.576 >diff -u -p -r1.576 configure.ac >--- configure.ac 13 Jun 2014 01:06:04 -0000 1.576 >+++ configure.ac 3 Jul 2014 01:52:12 -0000 >@@ -2512,6 +2512,14 @@ AC_CHECK_FUNCS([SHA256_Update EVP_sha256 > hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com" > ] > ) >+# Search for RIPE-MD support in OpenSSL >+AC_CHECK_FUNCS([EVP_ripemd160], , >+ [unsupported_algorithms="$unsupported_algorithms \ >+ hmac-ripemd160 >+ hmac-ripemd160@openssh.com >+ hmac-ripemd160-etm@openssh.com" >+ ] >+) > > # Check complete ECC support in OpenSSL > AC_MSG_CHECKING([whether OpenSSL has NID_X9_62_prime256v1]) >Index: digest-openssl.c >=================================================================== >RCS file: /var/cvs/openssh/digest-openssl.c,v >retrieving revision 1.3 >diff -u -p -r1.3 digest-openssl.c >--- digest-openssl.c 2 Jul 2014 05:28:03 -0000 1.3 >+++ digest-openssl.c 3 Jul 2014 01:52:12 -0000 >@@ -45,7 +45,9 @@ struct ssh_digest { > /* NB. Indexed directly by algorithm number */ > const struct ssh_digest digests[] = { > { SSH_DIGEST_MD5, "MD5", 16, EVP_md5 }, >+#ifdef HAVE_EVP_RIPEMD160 /* XXX replace with local if missing */ > { 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 },
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2248
: 2446