View | Details | Raw Unified | Return to bug 2248
Collapse All | Expand All

(-)configure.ac (+8 lines)
Lines 2512-2517 AC_CHECK_FUNCS([SHA256_Update EVP_sha256 Link Here
2512
	hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com"
2512
	hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com"
2513
     ]
2513
     ]
2514
)
2514
)
2515
# Search for RIPE-MD support in OpenSSL
2516
AC_CHECK_FUNCS([EVP_ripemd160], ,
2517
    [unsupported_algorithms="$unsupported_algorithms \
2518
	hmac-ripemd160
2519
	hmac-ripemd160@openssh.com
2520
	hmac-ripemd160-etm@openssh.com"
2521
     ]
2522
)
2515
2523
2516
# Check complete ECC support in OpenSSL
2524
# Check complete ECC support in OpenSSL
2517
AC_MSG_CHECKING([whether OpenSSL has NID_X9_62_prime256v1])
2525
AC_MSG_CHECKING([whether OpenSSL has NID_X9_62_prime256v1])
(-)digest-openssl.c (+2 lines)
Lines 45-51 struct ssh_digest { Link Here
45
/* NB. Indexed directly by algorithm number */
45
/* NB. Indexed directly by algorithm number */
46
const struct ssh_digest digests[] = {
46
const struct ssh_digest digests[] = {
47
	{ SSH_DIGEST_MD5,	"MD5",	 	16,	EVP_md5 },
47
	{ SSH_DIGEST_MD5,	"MD5",	 	16,	EVP_md5 },
48
#ifdef HAVE_EVP_RIPEMD160 /* XXX replace with local if missing */
48
	{ SSH_DIGEST_RIPEMD160,	"RIPEMD160",	20,	EVP_ripemd160 },
49
	{ SSH_DIGEST_RIPEMD160,	"RIPEMD160",	20,	EVP_ripemd160 },
50
#endif
49
	{ SSH_DIGEST_SHA1,	"SHA1",	 	20,	EVP_sha1 },
51
	{ SSH_DIGEST_SHA1,	"SHA1",	 	20,	EVP_sha1 },
50
#ifdef HAVE_EVP_SHA256 /* XXX replace with local if missing */
52
#ifdef HAVE_EVP_SHA256 /* XXX replace with local if missing */
51
	{ SSH_DIGEST_SHA256,	"SHA256", 	32,	EVP_sha256 },
53
	{ SSH_DIGEST_SHA256,	"SHA256", 	32,	EVP_sha256 },

Return to bug 2248