Added support in tinyDTLS to support rehandshake
authorSachin Agrawal <sachin.agrawal@intel.com>
Wed, 21 Jan 2015 16:55:45 +0000 (08:55 -0800)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Fri, 23 Jan 2015 21:44:23 +0000 (21:44 +0000)
commit6baf3d32af01b99cc56466e51b541a6be3a911f4
treeca85c8a7e338ef3f2a9cf3ee6c5a0d7eccbd27f0
parentdd63de543da23f0a1e22cf15ec755c7f4652c001
Added support in tinyDTLS to support rehandshake

As per RFC 6347 section 4.2.8, DTLS Server should support requests
from clients who have silently abandoned the existing association
and initiated a new handshake request by sending a ClientHello.
Code is updated to detect this scenario and delete the old
association when client successfully responds to HelloVerifyRequest.

Change-Id: I6e256921215c1a22e9e5013499c4dfd98659f8cc
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/120
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sashi Penta <sashi.kumar.penta@intel.com>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
extlibs/tinydtls/0001-Added-support-in-tinyDTLS-to-support-rehandshake.patch [new file with mode: 0644]
extlibs/tinydtls/dtls.c