Skip to content

Commit ba4e77d

Browse files
author
Tero Heinonen
committed
Do not remove secure session when sending close alert.
1 parent 61a9bb8 commit ba4e77d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/coap_security_handler.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,6 @@ int coap_security_send_close_alert(coap_security_t *sec)
491491
}
492492

493493
if(!mbedtls_ssl_close_notify(&sec->_ssl)){
494-
coap_security_handler_reset(sec);
495-
coap_security_handler_init(sec);
496494
return 0;
497495
}
498496
return -1;

0 commit comments

Comments
 (0)