MFC rev 1.29:

Fix an incorrect TCP-MD5 key length check for the !FAST_IPSEC case.

PR:		104422, 107520
MFC after:	3 days
This commit is contained in:
bms 2007-02-08 12:46:14 +00:00
parent 73c0af221a
commit 3ae0521288

View File

@ -190,7 +190,7 @@ static const struct ah_algorithm ah_algorithms[] = {
"aes-xcbc-mac",
ah_aes_xcbc_mac_init, ah_aes_xcbc_mac_loop,
ah_aes_xcbc_mac_result, },
{ ah_sumsiz_1216, ah_none_mature, 1, 80, /* TCP_KEYLEN_MIN/MAX */
{ ah_sumsiz_1216, ah_none_mature, 8, 640, /* bits (RFC 2385) */
"TCP-MD5",
ah_none_init, ah_none_loop,
ah_none_result, },