fix lenght mismatch error

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2021-08-31 18:31:09 +08:00
parent b7ab336b3a
commit f171e836eb

View File

@ -184,6 +184,8 @@ static int ssl_tls13_write_client_hello_ciphersuites(
( "client hello, got %" MBEDTLS_PRINTF_SIZET " ciphersuites",
buf_len/2 ) );
*olen = ciphersuite_iter - buf;
return( 0 );
}