summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2020-02-25 09:53:26 +0000
committerDamjan Marion <dmarion@me.com>2020-02-26 12:05:04 +0000
commitd26b8607c9f9a4385bf7af0a01b1a42efaed5053 (patch)
tree1de74ca3f67f600e168955063422b3a1f10103fc /src
parent3017af9ab2bc83f4b909e3858e20fbf5259ec00a (diff)
crypto: fix set crypto handlers
Type: fix Change-Id: I9e168a87aff1882636840eb94e5509cd08885fb5 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/crypto/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/crypto/crypto.c b/src/vnet/crypto/crypto.c
index 4458bfcff4d..1caff71b3e2 100644
--- a/src/vnet/crypto/crypto.c
+++ b/src/vnet/crypto/crypto.c
@@ -172,7 +172,7 @@ vnet_crypto_set_handler2 (char *alg_name, char *engine,
if (!p)
return -1;
- for (i = 0; i < VNET_CRYPTO_OP_N_TYPES; i += 2)
+ for (i = 0; i < VNET_CRYPTO_OP_N_TYPES; i++)
{
vnet_crypto_op_data_t *od;
vnet_crypto_op_id_t id = ad->op_by_type[i];