mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-13 11:50:40 +03:00
coap_tinydtls.c: Fix recent removal of DTLS_EVENT_RENEGOTIATE from TinyDTLS
LwIP test build uses latest tinydtls source for DTLS builds.
This commit is contained in:
1 parent
a71b7930b9
commit
c46f9ca95c
1 file changed
+2
@@ -348,11 +348,13 @@ dtls_event(struct dtls_context_t *dtls_context,
|
||||
coap_event_dtls = COAP_EVENT_DTLS_CONNECTED;
|
||||
break;
|
||||
}
|
||||
#ifdef DTLS_EVENT_RENEGOTIATE
|
||||
case DTLS_EVENT_RENEGOTIATE:
|
||||
{
|
||||
coap_event_dtls = COAP_EVENT_DTLS_RENEGOTIATE;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user