Updated tinyDTLS test apps to use identity hint
authorSachin Agrawal <sachin.agrawal@intel.com>
Thu, 26 Feb 2015 17:28:56 +0000 (09:28 -0800)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Mon, 2 Mar 2015 21:33:13 +0000 (21:33 +0000)
commitf5fb7aae180aa04babd2fc1364365b8ae1452efd
tree3d058b53987a1cae344cd86a0f1362c9babab155
parent9ab500ba1179c0430be577d2f431825727d2a77a
Updated tinyDTLS test apps to use identity hint

dtls-server test is updated to pass 'psk hint' to tinyDTLS library so that
it can send ServerKeyExchange packet. Similarly, dtls-client test
is updated to retrieve PSK specific for the server whose identity was
received via 'psk hint' packet.

Change-Id: Ifba720f1505ed6afbf56dfc179d98790176ce0b0
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/348
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Seung-Woo Lee <sw0524.lee@samsung.com>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
extlibs/tinydtls/0001-Updated-tinyDTLS-test-apps-to-use-identity-hint.patch [new file with mode: 0644]
extlibs/tinydtls/tests/dtls-client.c
extlibs/tinydtls/tests/dtls-server.c