Fix encryption request handling 70/282070/1 tizen_5.0
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 14:55:27 +0000 (16:55 +0200)
commit7d10c8af503f0c54f983f6c228604caa1e5656bb
tree370bb79d23d0c1cc351c64d7eefa81f8bb39bbe3
parent467e4081f0cfcfda62dbb0e34aa5df8f058a2238
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