aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec_sa.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-04-04 12:25:44 +0200
committerNeale Ranns <nranns@cisco.com>2019-04-04 12:49:39 +0000
commit7c22ff72aa54d15484fdc70e0c1b8a9ec5e880e0 (patch)
tree6fb0b991a946a69793e5585ab69ccc5b3b4322e4 /src/vnet/ipsec/ipsec_sa.c
parent085637f5d5d25023c4e7b13c9dcacfcf512aceee (diff)
ipsec: trunc_size -> icv_size
Change-Id: Idb661261c2191adda963a7815822fd7a27a9e7a0 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec_sa.c')
-rw-r--r--src/vnet/ipsec/ipsec_sa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ipsec/ipsec_sa.c b/src/vnet/ipsec/ipsec_sa.c
index 0ca2f376c67..4d20566686d 100644
--- a/src/vnet/ipsec/ipsec_sa.c
+++ b/src/vnet/ipsec/ipsec_sa.c
@@ -109,9 +109,9 @@ ipsec_sa_set_integ_alg (ipsec_sa_t * sa, ipsec_integ_alg_t integ_alg)
{
ipsec_main_t *im = &ipsec_main;
sa->integ_alg = integ_alg;
- sa->integ_trunc_size = im->integ_algs[integ_alg].trunc_size;
+ sa->integ_icv_size = im->integ_algs[integ_alg].icv_size;
sa->integ_op_type = im->integ_algs[integ_alg].op_type;
- ASSERT (sa->integ_trunc_size <= ESP_MAX_ICV_SIZE);
+ ASSERT (sa->integ_icv_size <= ESP_MAX_ICV_SIZE);
}
int