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:
parent
4850881369
commit
863fe9b50b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user