diff options
author | ume <ume@FreeBSD.org> | 2003-10-12 09:41:42 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-12 09:41:42 +0000 |
commit | 2da6bcd32608963a87a6204b27810701287c97c2 (patch) | |
tree | 2decf36a0c89d43e5a0e70adbde87c593c8c9376 /lib/libipsec | |
parent | 430e4069d35afcda4852e4771595eeeb4b5bbe02 (diff) | |
download | FreeBSD-src-2da6bcd32608963a87a6204b27810701287c97c2.zip FreeBSD-src-2da6bcd32608963a87a6204b27810701287c97c2.tar.gz |
- RIPEMD160 support
- pass size arg to ah->result (avoid assuming result buffer size)
Obtained from: KAME
Diffstat (limited to 'lib/libipsec')
-rw-r--r-- | lib/libipsec/pfkey_dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libipsec/pfkey_dump.c b/lib/libipsec/pfkey_dump.c index af3db0e..67e6256 100644 --- a/lib/libipsec/pfkey_dump.c +++ b/lib/libipsec/pfkey_dump.c @@ -172,6 +172,9 @@ static struct val2str str_alg_auth[] = { #ifdef SADB_X_AALG_SHA2_512 { SADB_X_AALG_SHA2_512, "hmac-sha2-512", }, #endif +#ifdef SADB_X_AALG_RIPEMD160HMAC + { SADB_X_AALG_RIPEMD160HMAC, "hmac-ripemd160", }, +#endif { -1, NULL, }, }; |