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:
Jon Shallow authored and Jon Shallow committed 2023-07-13 09:27:53 +01:00
1 parent a71b7930b9
commit c46f9ca95c
1 file changed
+2
+2
View File
@@ -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:
;
}