Add comment regarding the wire-version used in TLS 1.3 records
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
edd5bf0a95
commit
41537452f4
1 changed files with 2 additions and 0 deletions
|
@ -3996,6 +3996,8 @@ void ssl_tls1_3_record_protection( int ciphersuite,
|
|||
|
||||
ASSERT_ALLOC( buf, ciphertext->len );
|
||||
rec.type = MBEDTLS_SSL_MSG_APPLICATION_DATA;
|
||||
|
||||
/* TLS 1.3 uses the version identifier from TLS 1.2 on the wire. */
|
||||
mbedtls_ssl_write_version( MBEDTLS_SSL_MAJOR_VERSION_3,
|
||||
MBEDTLS_SSL_MINOR_VERSION_3,
|
||||
MBEDTLS_SSL_TRANSPORT_STREAM,
|
||||
|
|
Loading…
Reference in a new issue