diff options
author | Krzysztof Jackiewicz <k.jackiewicz@samsung.com> | 2015-11-19 11:43:20 +0100 |
---|---|---|
committer | Krzysztof Jackiewicz <k.jackiewicz@samsung.com> | 2015-11-19 11:46:10 +0100 |
commit | 84ffd8d75c83103bf2b7c9809297b111445f7a5d (patch) | |
tree | 25647a13defb0217fd9852668e1c88c4b762bf55 /src/manager/service/key-provider.cpp | |
parent | 69d43d7fa2230899f677c88f8d1e1b52071408dc (diff) | |
download | key-manager-84ffd8d75c83103bf2b7c9809297b111445f7a5d.tar.gz key-manager-84ffd8d75c83103bf2b7c9809297b111445f7a5d.tar.bz2 key-manager-84ffd8d75c83103bf2b7c9809297b111445f7a5d.zip |
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
Diffstat (limited to 'src/manager/service/key-provider.cpp')
0 files changed, 0 insertions, 0 deletions