commit | f171e836eb58f79f315f0d12cde0c50847a22647 | [log] [tgz] |
---|---|---|
author | Jerry Yu <jerry.h.yu@arm.com> | Tue Aug 31 18:31:09 2021 +0800 |
committer | Jerry Yu <jerry.h.yu@arm.com> | Fri Sep 03 16:29:20 2021 +0800 |
tree | 717908c15ebff1ddad4bdff3ed54691690e5fdf6 | |
parent | b7ab336b3a98c2d2e8c8ff0bd5d328647e01849a [diff] [blame] |
fix lenght mismatch error Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c index 736cd20..41d2a32 100644 --- a/library/ssl_tls13_client.c +++ b/library/ssl_tls13_client.c
@@ -184,6 +184,8 @@ ( "client hello, got %" MBEDTLS_PRINTF_SIZET " ciphersuites", buf_len/2 ) ); + *olen = ciphersuite_iter - buf; + return( 0 ); }