mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-28 18:32:56 +00:00
Consistently reference CID draft through name + URL
This commit is contained in:
parent
d1f203557f
commit
ebcc9137ca
@ -1330,7 +1330,8 @@
|
|||||||
* \def MBEDTLS_SSL_CID
|
* \def MBEDTLS_SSL_CID
|
||||||
*
|
*
|
||||||
* Enable support for the DTLS Connection ID extension
|
* Enable support for the DTLS Connection ID extension
|
||||||
* (version draft-ietf-tls-dtls-connection-id-05)
|
* (version draft-ietf-tls-dtls-connection-id-05,
|
||||||
|
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05)
|
||||||
* which allows to identify DTLS connections across changes
|
* which allows to identify DTLS connections across changes
|
||||||
* in the underlying transport.
|
* in the underlying transport.
|
||||||
*
|
*
|
||||||
|
@ -393,7 +393,8 @@
|
|||||||
#define MBEDTLS_TLS_EXT_SESSION_TICKET 35
|
#define MBEDTLS_TLS_EXT_SESSION_TICKET 35
|
||||||
|
|
||||||
/* The value of the CID extension is still TBD as of
|
/* The value of the CID extension is still TBD as of
|
||||||
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-04. */
|
* draft-ietf-tls-dtls-connection-id-05
|
||||||
|
* (https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05) */
|
||||||
#define MBEDTLS_TLS_EXT_CID 254 /* TBD */
|
#define MBEDTLS_TLS_EXT_CID 254 /* TBD */
|
||||||
|
|
||||||
#define MBEDTLS_TLS_EXT_ECJPAKE_KKPP 256 /* experimental */
|
#define MBEDTLS_TLS_EXT_ECJPAKE_KKPP 256 /* experimental */
|
||||||
@ -1540,8 +1541,8 @@ void mbedtls_ssl_set_bio( mbedtls_ssl_context *ssl,
|
|||||||
* \brief Configure the use of the Connection ID (CID)
|
* \brief Configure the use of the Connection ID (CID)
|
||||||
* extension in the next handshake.
|
* extension in the next handshake.
|
||||||
*
|
*
|
||||||
* Reference:
|
* Reference: draft-ietf-tls-dtls-connection-id-05
|
||||||
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-04
|
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05
|
||||||
*
|
*
|
||||||
* The DTLS CID extension allows the reliable association of
|
* The DTLS CID extension allows the reliable association of
|
||||||
* DTLS records to DTLS connections across changes in the
|
* DTLS records to DTLS connections across changes in the
|
||||||
|
@ -485,8 +485,8 @@ static void ssl_write_cid_ext( mbedtls_ssl_context *ssl,
|
|||||||
const unsigned char *end = ssl->out_msg + MBEDTLS_SSL_OUT_CONTENT_LEN;
|
const unsigned char *end = ssl->out_msg + MBEDTLS_SSL_OUT_CONTENT_LEN;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Quoting
|
* Quoting draft-ietf-tls-dtls-connection-id-05
|
||||||
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05:
|
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05
|
||||||
*
|
*
|
||||||
* struct {
|
* struct {
|
||||||
* opaque cid<0..2^8-1>;
|
* opaque cid<0..2^8-1>;
|
||||||
|
@ -492,8 +492,8 @@ static int ssl_parse_cid_ext( mbedtls_ssl_context *ssl,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Quoting
|
* Quoting draft-ietf-tls-dtls-connection-id-05
|
||||||
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05:
|
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05
|
||||||
*
|
*
|
||||||
* struct {
|
* struct {
|
||||||
* opaque cid<0..2^8-1>;
|
* opaque cid<0..2^8-1>;
|
||||||
@ -2209,8 +2209,8 @@ static void ssl_write_cid_ext( mbedtls_ssl_context *ssl,
|
|||||||
MBEDTLS_SSL_DEBUG_MSG( 3, ( "server hello, adding CID extension" ) );
|
MBEDTLS_SSL_DEBUG_MSG( 3, ( "server hello, adding CID extension" ) );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Quoting
|
* Quoting draft-ietf-tls-dtls-connection-id-05
|
||||||
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05:
|
* https://tools.ietf.org/html/draft-ietf-tls-dtls-connection-id-05
|
||||||
*
|
*
|
||||||
* struct {
|
* struct {
|
||||||
* opaque cid<0..2^8-1>;
|
* opaque cid<0..2^8-1>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user