mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-24 15:02:55 +00:00
tls13: Fix certificate extension size write
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
139d0aa9d3
commit
11b5332ffc
@ -812,7 +812,7 @@ static int ssl_tls13_write_certificate_body( mbedtls_ssl_context *ssl,
|
|||||||
/* Currently, we don't have any certificate extensions defined.
|
/* Currently, we don't have any certificate extensions defined.
|
||||||
* Hence, we are sending an empty extension with length zero.
|
* Hence, we are sending an empty extension with length zero.
|
||||||
*/
|
*/
|
||||||
MBEDTLS_PUT_UINT24_BE( 0, p, 0 );
|
MBEDTLS_PUT_UINT16_BE( 0, p, 0 );
|
||||||
p += 2;
|
p += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user