Make username shorter in KeyProvider tests 99/197099/6
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 9 Jan 2019 11:48:39 +0000 (12:48 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 13 Feb 2019 12:37:15 +0000 (13:37 +0100)
commit66acb43cae733b2abb503bc5457762762c8829d2
treedb8ec5424d24340f98acc332fd27d0ed9e123407
parentc69772a9441cc453cd68fe726f379ae8147dbba4
Make username shorter in KeyProvider tests

USERNAME_LONG used in KeyProvider tests is 43 characters long while the
structure used for storing it has only 32 characters. After adding a size check
in WrappedKeyAndInfoContainer::setKeyInfoClient the tests started to fail.

This commit makes the passed string fit 32 characters and adds new test.

Change-Id: Ida8a574f805c9518d00ee810dbd3c2daed9ace55
tests/test_key-provider.cpp