branch Attitude Adjustment packages
[12.09/packages.git] / net / openssh / patches / 110-no_ripemd_fix.patch
1 --- a/mac.c
2 +++ b/mac.c
3 @@ -67,8 +67,10 @@ struct {
4  #endif
5         { "hmac-md5",                   SSH_EVP, EVP_md5, 0, -1, -1 },
6         { "hmac-md5-96",                SSH_EVP, EVP_md5, 96, -1, -1 },
7 +#ifndef OPENSSL_NO_RIPEMD
8         { "hmac-ripemd160",             SSH_EVP, EVP_ripemd160, 0, -1, -1 },
9         { "hmac-ripemd160@openssh.com", SSH_EVP, EVP_ripemd160, 0, -1, -1 },
10 +#endif
11         { "umac-64@openssh.com",        SSH_UMAC, NULL, 0, 128, 64 },
12         { NULL,                         0, NULL, 0, -1, -1 }
13  };