Skip to content

Commit

Permalink
[nrf noup] Fixes for DTLS CID
Browse files Browse the repository at this point in the history
Per zephyrproject-rtos/zephyr#36738.

Updated CID value with latest from:
  https://www.iana.org/assignments/tls-extensiontype-values/
tls-extensiontype-values.xhtml

ref: NCSDK-15193

Signed-off-by: Pete Skeggs <peter.skeggs@nordicsemi.no>
Signed-off-by: Frank Audun Kvamtrø <frank.kvamtro@nordicsemi.no>
  • Loading branch information
plskeggs authored and Joakim Andersson committed Jun 9, 2022
1 parent cf39070 commit fcf5f41
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions include/mbedtls/ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -549,14 +549,12 @@

/* The value of the CID extension is still TBD as of
* draft-ietf-tls-dtls-connection-id-05
* (https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05).
*
* A future minor revision of Mbed TLS may change the default value of
* this option to match evolving standards and usage.
* (https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05)
* Latest CID value is here:
* https://www.iana.org/assignments/tls-extensiontype-values/
* tls-extensiontype-values.xhtml#tls-extensiontype-values-1
*/
#if !defined(MBEDTLS_TLS_EXT_CID)
#define MBEDTLS_TLS_EXT_CID 254 /* TBD */
#endif
#define MBEDTLS_TLS_EXT_CID 54

#define MBEDTLS_TLS_EXT_ECJPAKE_KKPP 256 /* experimental */

Expand Down

0 comments on commit fcf5f41

Please sign in to comment.