mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-26 21:39:56 +00:00
fix lenght mismatch error
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
b7ab336b3a
commit
f171e836eb
@ -184,6 +184,8 @@ static int ssl_tls13_write_client_hello_ciphersuites(
|
|||||||
( "client hello, got %" MBEDTLS_PRINTF_SIZET " ciphersuites",
|
( "client hello, got %" MBEDTLS_PRINTF_SIZET " ciphersuites",
|
||||||
buf_len/2 ) );
|
buf_len/2 ) );
|
||||||
|
|
||||||
|
*olen = ciphersuite_iter - buf;
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user