vhost/crypto: fix symmetric ciphering
authorFan Zhang <roy.fan.zhang@intel.com>
Mon, 30 Apr 2018 10:31:17 +0000 (11:31 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:03 +0000 (22:31 +0100)
commitdc3530ec0d246d538395046c735fbb21b7192380
treea5df1115c07c250b4745c2266d144846b053931b
parent8eac207d49b326ffaac7451ad3050d9cf2c0b361
vhost/crypto: fix symmetric ciphering

A bracket was misplaced in a condition check, this patch
fixes it.

Coverity issue: 277232, 277237
Fixes: 3bb595ecd682 ("vhost/crypto: add request handler")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/vhost_crypto.c