Commit 214aecff authored by Aleksey's avatar Aleksey

[IOT-3256] Change log level

Switch log level from ERROR to DEBUG
in the IsEmptyCred() implementation
due to misinterpretationq

Change-Id: I7124299fcc210c0531c28c0cceb31070cbd601a4
Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
parent b357e574
......@@ -257,14 +257,14 @@ static bool IsEmptyCred(const OicSecCred_t* cred)
{
OicUuid_t emptyUuid = {.id={0}};
VERIFY_SUCCESS(TAG, (0 == memcmp(cred->subject.id, emptyUuid.id, sizeof(emptyUuid))), ERROR);
VERIFY_SUCCESS(TAG, !IsNonEmptyRole(&cred->roleId), ERROR);
VERIFY_SUCCESS(TAG, (0 == cred->credId), ERROR);
VERIFY_SUCCESS(TAG, (0 == cred->credType), ERROR);
VERIFY_SUCCESS(TAG, (NULL == cred->privateData.data), ERROR);
VERIFY_SUCCESS(TAG, (NULL == cred->publicData.data), ERROR);
VERIFY_SUCCESS(TAG, (NULL == cred->optionalData.data), ERROR);
VERIFY_SUCCESS(TAG, (NULL == cred->credUsage), ERROR);
VERIFY_SUCCESS(TAG, (0 == memcmp(cred->subject.id, emptyUuid.id, sizeof(emptyUuid))), DEBUG);
VERIFY_SUCCESS(TAG, !IsNonEmptyRole(&cred->roleId), DEBUG);
VERIFY_SUCCESS(TAG, (0 == cred->credId), DEBUG);
VERIFY_SUCCESS(TAG, (0 == cred->credType), DEBUG);
VERIFY_SUCCESS(TAG, (NULL == cred->privateData.data), DEBUG);
VERIFY_SUCCESS(TAG, (NULL == cred->publicData.data), DEBUG);
VERIFY_SUCCESS(TAG, (NULL == cred->optionalData.data), DEBUG);
VERIFY_SUCCESS(TAG, (NULL == cred->credUsage), DEBUG);
return true;
exit:
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment