Commit 9b5f6dfb authored by ol.beketov's avatar ol.beketov Committed by Dmitriy Zhuravlev

Fix return value in GetDtlsPskCredentials()

Fix return value in GetDtlsPskCredentials() from
credresource.c missed in patchset #19785

Change-Id: Id79111409f574ce49f037adb6602a4195666db0c
Signed-off-by: default avatarol.beketov <>
Reviewed-on: default avatarAndrii Shtompel <>
Reviewed-by: default avatarDmitriy Zhuravlev <>
Reviewed-by: default avatarDan Mihai <>
Reviewed-by: default avatarKevin Kane <>
Tested-by: default avatarjenkins-iotivity <>
parent f300165d
......@@ -2795,6 +2795,7 @@ int32_t GetDtlsPskCredentials(CADtlsPskCredType_t type,
return ret;
memcpy(result, cred->, len);
ret = (int32_t)len;
else if(OIC_ENCODING_BASE64 == cred->privateData.encoding)
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