mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Merge df620dae4304e6e8a6226624969e8ea1cc7d33a3 into 4fdb917aae2fb5876e04f88621630712a906a067
This commit is contained in:
commit
f7020940ce
3
ChangeLog.d/fix-dtls-connection-id-compat-build.txt
Normal file
3
ChangeLog.d/fix-dtls-connection-id-compat-build.txt
Normal file
@ -0,0 +1,3 @@
|
||||
Bugfix
|
||||
* Fix a compilation warning in ssl.h when MBEDTLS_SSL_DTLS_CONNECTION_ID
|
||||
and MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT are not defined. Fixes #10207.
|
||||
@ -656,11 +656,17 @@
|
||||
#define MBEDTLS_TLS_EXT_SIG_ALG_CERT 50 /* RFC 8446 TLS 1.3 */
|
||||
#define MBEDTLS_TLS_EXT_KEY_SHARE 51 /* RFC 8446 TLS 1.3 */
|
||||
|
||||
/*
|
||||
* MBEDTLS_TLS_EXT_CID is required only when
|
||||
* MBEDTLS_SSL_DTLS_CONNECTION_ID is defined.
|
||||
*/
|
||||
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
|
||||
#if MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT == 0
|
||||
#define MBEDTLS_TLS_EXT_CID 54 /* RFC 9146 DTLS 1.2 CID */
|
||||
#else
|
||||
#define MBEDTLS_TLS_EXT_CID 254 /* Pre-RFC 9146 DTLS 1.2 CID */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define MBEDTLS_TLS_EXT_ECJPAKE_KKPP 256 /* experimental */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user