mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
@ -884,7 +884,7 @@ static int ssl_tls13_write_key_share_ext( mbedtls_ssl_context *ssl,
|
|||||||
/* When we introduce PQC-ECDHE hybrids, we'll want to call this
|
/* When we introduce PQC-ECDHE hybrids, we'll want to call this
|
||||||
* function multiple times. */
|
* function multiple times. */
|
||||||
ret = ssl_tls13_generate_and_write_key_share(
|
ret = ssl_tls13_generate_and_write_key_share(
|
||||||
ssl, group, p_key_exchange_len + 2, end, &key_exchange_length );
|
ssl, group, server_share + 4, end, &key_exchange_length );
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
return( ret );
|
return( ret );
|
||||||
p += key_exchange_length;
|
p += key_exchange_length;
|
||||||
|
Reference in New Issue
Block a user