Fix encryption request handling 50/282050/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 26 Sep 2022 10:47:24 +0000 (12:47 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 26 Sep 2022 10:47:24 +0000 (12:47 +0200)
commit3ba6d1a1228a46b9a921ce4b4674e9a09c124751
treeef8b374263fd704c955366cf482def0fc42c5d76
parenta5aaaff16be2e82412c1eee4a3b50d4d36ca6501
Fix encryption request handling

The key used in m_requestMap is not unique which may lead to errors when
requests from multiple clients are processed.

Use a separate request counter as the key.

Change-Id: Iffbf0a3c43ea0c091eb3d714ef0a77211f9b3a78
src/manager/main/service-messages.h
src/manager/service/encryption-logic.cpp
src/manager/service/encryption-logic.h
src/manager/service/encryption-service.cpp
src/manager/service/encryption-service.h
src/manager/service/iencryption-service.h