diff options
author | Tim Rice <tim@multitalents.net> | 2011-08-17 02:29:01 +0200 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2011-08-17 02:29:01 +0200 |
commit | a1226828add427f4ff29462b3153b1549d3b46a8 (patch) | |
tree | b4b3b3638c6ffffe8f95dd8f37f517341d9b5175 /mac.c | |
parent | - (djm) [contrib/ssh-copy-id] Fix failure for cases where the path to the (diff) | |
download | openssh-a1226828add427f4ff29462b3153b1549d3b46a8.tar.xz openssh-a1226828add427f4ff29462b3153b1549d3b46a8.zip |
- (tim) [mac.c myproposal.h] Wrap SHA256 and SHA512 in ifdefs for
OpenSSL 0.9.7. ok djm
Diffstat (limited to 'mac.c')
-rw-r--r-- | mac.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -57,10 +57,12 @@ struct { } macs[] = { { "hmac-sha1", SSH_EVP, EVP_sha1, 0, -1, -1 }, { "hmac-sha1-96", SSH_EVP, EVP_sha1, 96, -1, -1 }, +#ifdef HAVE_EVP_SHA256 { "hmac-sha2-256", SSH_EVP, EVP_sha256, 0, -1, -1 }, { "hmac-sha2-256-96", SSH_EVP, EVP_sha256, 96, -1, -1 }, { "hmac-sha2-512", SSH_EVP, EVP_sha512, 0, -1, -1 }, { "hmac-sha2-512-96", SSH_EVP, EVP_sha512, 96, -1, -1 }, +#endif { "hmac-md5", SSH_EVP, EVP_md5, 0, -1, -1 }, { "hmac-md5-96", SSH_EVP, EVP_md5, 96, -1, -1 }, { "hmac-ripemd160", SSH_EVP, EVP_ripemd160, 0, -1, -1 }, |