summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/ipsec
diff options
context:
space:
mode:
authorRadu Nicolau <radu.nicolau@intel.com>2018-05-04 12:51:53 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-04 21:53:29 +0000
commit89c27818b3bba409ed8e4ccacc9be37384b46705 (patch)
tree62c1c7814f5ccef0bc5a5ed5f403207d2bd603cb /src/plugins/dpdk/ipsec
parent6168623290ff55e722bf77e448f3df385b6979d1 (diff)
ipsec: allow null/null for crypto/integ algorithms pair
Change-Id: Ic1e189c22e3d344d165e0eab05ccb667eef088a9 Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec')
-rw-r--r--src/plugins/dpdk/ipsec/ipsec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dpdk/ipsec/ipsec.c b/src/plugins/dpdk/ipsec/ipsec.c
index 3574f3eced0..5933cf9573e 100644
--- a/src/plugins/dpdk/ipsec/ipsec.c
+++ b/src/plugins/dpdk/ipsec/ipsec.c
@@ -555,6 +555,7 @@ dpdk_ipsec_check_support (ipsec_sa_t * sa)
if (sa->integ_alg == IPSEC_INTEG_ALG_NONE)
switch (sa->crypto_alg)
{
+ case IPSEC_CRYPTO_ALG_NONE:
case IPSEC_CRYPTO_ALG_AES_GCM_128:
case IPSEC_CRYPTO_ALG_AES_GCM_192:
case IPSEC_CRYPTO_ALG_AES_GCM_256: