Use Cynara helpers to obtain connection credentials 71/42071/1
authorJacek Bukarewicz <j.bukarewicz@samsung.com>
Mon, 22 Jun 2015 14:08:37 +0000 (16:08 +0200)
committerJacek Bukarewicz <j.bukarewicz@samsung.com>
Mon, 22 Jun 2015 14:39:10 +0000 (16:39 +0200)
commitb24822324f98f72aa5e8d29ef34d98ffbcae063c
tree8c36100fff9b2c8df5832b94945a220006a4f0e6
parent05978368afa6b991a8863df461d38d49b2e3d57f
Use Cynara helpers to obtain connection credentials

This makes the code simpler and makes it independent of non-upstream
GetConnectionSmackContext method which is going to be removed in the future.
Additionally, it is planned to implement credentials caching in the helper
library which will improve performance.
This commit also uses correct unique id to obtain credentials (sender's id
instead of service's id).

Change-Id: I32511a290ecb6bb38bdab9bfb072c144876f37e0
CMakeLists.txt
packaging/tel-plugin-packetservice.spec
src/util.c