summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2015-07-10 02:23:50 +0000
committergnn <gnn@FreeBSD.org>2015-07-10 02:23:50 +0000
commit4d0b1feb1d76f401edd35f1511cd4e7908942cae (patch)
tree1305caed12b930f0da981833835c74df59090641 /sys/netipsec
parent0a09d271d954ca7bfd06b9b71dd7d7fb6439c2c7 (diff)
downloadFreeBSD-src-4d0b1feb1d76f401edd35f1511cd4e7908942cae.zip
FreeBSD-src-4d0b1feb1d76f401edd35f1511cd4e7908942cae.tar.gz
Summary: Fix LINT build. The names of the new AES modes were not
correctly used under the REGRESSION kernel option.
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 3d9ba14..e0dc2b2 100644
--- a/sys/netipsec/xform_esp.c
+++ b/sys/netipsec/xform_esp.c
@@ -989,9 +989,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