Added code to send close_notify alert when OC stack shuts down.
authorSachin Agrawal <sachin.agrawal@intel.com>
Fri, 12 Dec 2014 17:17:24 +0000 (09:17 -0800)
committerSachin Agrawal <sachin.agrawal@intel.com>
Fri, 12 Dec 2014 17:17:24 +0000 (09:17 -0800)
commit563349fe03e528b94ca9c96bff4c425d2753ee12
tree8a8d34d2449d4a2129ebd486f5a14855e9b43e4b
parentb97ab62aa50a692bd13f7f4cd3808fed05c5e9ea
Added code to send close_notify alert when OC stack shuts down.

When peers receive close_notify alert they clean up the DTLS
session state.

Change-Id: I56efabc3d73a428406cd0c1d5796f762d57f5089
Signed-off-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/libcoap-4.1.1/sec/netdtls.c