summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 17:10:55 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 12:08:15 -0500
commit538db89ae1350ff7970a4493ea3414e1091f245b (patch)
tree2461613b9dbd5e9392ad5da8bf19a380f397f2e7 /sys/netipsec
parent0b2903bf0a54225395eaa6386172183e8c494c13 (diff)
downloadFreeBSD-src-538db89ae1350ff7970a4493ea3414e1091f245b.zip
FreeBSD-src-538db89ae1350ff7970a4493ea3414e1091f245b.tar.gz
MFC r285347:
Summary: Fix LINT build. The names of the new AES modes were not correctly used under the REGRESSION kernel option. TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/xform_esp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netipsec/xform_esp.c b/sys/netipsec/xform_esp.c
index a47404b..c36ce14 100644
--- a/sys/netipsec/xform_esp.c
+++ b/sys/netipsec/xform_esp.c
@@ -987,9 +987,9 @@ esp_output_cb(struct cryptop *crp)
case CRYPTO_SHA2_512_HMAC:
alen = esph->hashsize/2;
break;
- case CRYPTO_AES_128_GMAC:
- case CRYPTO_AES_192_GMAC:
- case CRYPTO_AES_256_GMAC:
+ case CRYPTO_AES_128_NIST_GMAC:
+ case CRYPTO_AES_192_NIST_GMAC:
+ case CRYPTO_AES_256_NIST_GMAC:
alen = esph->hashsize;
break;
default:
OpenPOWER on IntegriCloud