tls13: Fix certificate extension size write
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
139d0aa9d3
commit
11b5332ffc
1 changed files with 1 additions and 1 deletions
|
@ -812,7 +812,7 @@ static int ssl_tls13_write_certificate_body( mbedtls_ssl_context *ssl,
|
|||
/* Currently, we don't have any certificate extensions defined.
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue