coap_oscore.c: Fix replay protection

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2026-06-01 09:18:10 +01:00
1 parent eb73b10e64
commit d32d298333
4 files changed
+18 -4

No files matched your search

+1
View File
@@ -212,6 +212,7 @@ struct coap_session_t {
oscore_association_t *associations; /**< OSCORE set of response
associations */
uint64_t oscore_r2; /**< R2 for RFC8613 Appendix B.2 */
coap_str_const_t *b_2_retransmit_token; /**< Copy of token when doing B.2 */
#endif /* COAP_OSCORE_SUPPORT */
#if COAP_WS_SUPPORT
coap_ws_state_t *ws; /**< WS state */