Fix bug found by Klocwork 61/52161/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 19 Nov 2015 10:43:20 +0000 (11:43 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 19 Nov 2015 10:46:10 +0000 (11:46 +0100)
commit84ffd8d75c83103bf2b7c9809297b111445f7a5d
tree25647a13defb0217fd9852668e1c88c4b762bf55
parent69d43d7fa2230899f677c88f8d1e1b52071408dc
Fix bug found by Klocwork

[Problem] The command received from encryption service is deserialized into a
variable hiding function argument of the same name. Also the received command
was ignored.
[Solution] Check if received command is equal to requested one.

[Verification] Run ckm-tests --group=CKM_ENCRYPTION_DECRYPTION

Change-Id: I16e14dbc8497a9b6ea11d93c8c0a48071562d684
src/manager/client/client-manager-impl.cpp