1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

sys/include/net/sock: add Macros for dtls extensions

This commit is contained in:
mariemC 2024-03-21 17:54:25 +01:00
parent 4850881369
commit 863fe9b50b

View File

@ -573,6 +573,20 @@ extern "C" {
*/
#define SOCK_DTLS_HANDSHAKE (EXDEV)
/**
* @brief Force extended master secret extension
*/
#ifndef CONFIG_DTLS_FORCE_EXTENDED_MASTER_SECRET
#define CONFIG_DTLS_FORCE_EXTENDED_MASTER_SECRET 1
#endif
/**
* @brief Force renegotiation info extension
*/
#ifndef CONFIG_DTLS_FORCE_RENEGOTIATION_INFO
#define CONFIG_DTLS_FORCE_RENEGOTIATION_INFO 1
#endif
/**
* @brief DTLS version number
* @anchor sock_dtls_prot_version