Commit 61ad5848 authored by Dmitriy Zhuravlev's avatar Dmitriy Zhuravlev Committed by Nathan Heldt-Sheller

[IOT-2173] Fix server PSK suite

Server should be able to load PSK suite without discovery

Change-Id: I957760b16325ac6b9f01c901f02cf6598e1aeb9e
Signed-off-by: default avatarDmitriy Zhuravlev <d.zhuravlev@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19369Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarAndrii Shtompel <a.shtompel@samsung.com>
Reviewed-by: default avatarOleksii Beketov <ol.beketov@samsung.com>
Reviewed-by: default avatarPhil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: default avatarDave Thaler <dthaler@microsoft.com>
Reviewed-by: default avatarKevin Kane <kkane@microsoft.com>
Reviewed-by: default avatarGreg Zaverucha <gregz@microsoft.com>
Reviewed-by: Nathan Heldt-Sheller's avatarNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
parent 385deffa
......@@ -1938,7 +1938,7 @@ CAResult_t CAdecryptSsl(const CASecureEndpoint_t *sep, uint8_t *data, size_t dat
return CA_STATUS_FAILED;
}
//Load allowed TLS suites from SVR DB
SetupCipher(config, sep->endpoint.adapter, sep->endpoint.remoteId);
SetupCipher(config, sep->endpoint.adapter, NULL);
ret = u_arraylist_add(g_caSslContext->peerList, (void *) peer);
if (!ret)
......
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