daemon/db: Fix store/retrive token cache issue.
authorAmarnath Valluri <amarnath.valluri@linux.intel.com>
Wed, 24 Jul 2013 11:13:41 +0000 (14:13 +0300)
committerAmarnath Valluri <amarnath.valluri@linux.intel.com>
Wed, 24 Jul 2013 11:25:10 +0000 (14:25 +0300)
commit964a17824a96205f21b211313649bff45b9c2c2e
treee4d2fa7092cfc69727bfc134194acf3736e1a97d
parent07c507cbd891ce5980aa0ad6381f28fb31557da8
daemon/db: Fix store/retrive token cache issue.

GVariant serialized data is prefixed with variant type while
saving(update_secret_data) it to secret storage, and that type information is used
while rebuilding(loda_secret_data) the variant.

Updated the relevent test case to mimic token cache.
src/common/db/gsignond-db-secret-database.c
test/db/dbtest.c