vhost/crypto: fix inferred misuse of enum
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 1 Nov 2018 14:15:04 +0000 (14:15 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commitd09328567e3212306b91d314a28214f81e0e9adf
treefc68bcee40fb36312565f50b75afbc0ee0b897ba
parent0ae8071784f353f426fd8ad9bbab2fe0ba39a670
vhost/crypto: fix inferred misuse of enum

Fix inffered misuse of enum rte_crypto_cipher_algorithm and
rte_crypto_auth_algorithm

Coverity issue: 277202
Fixes: e80a98708166 ("vhost/crypto: add session message handler")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_vhost/vhost_crypto.c