fix various issues
- wrong cipher suite filter condition - name conversion - format issue Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
8c02bb4b71
commit
dbfb7bd873
2 changed files with 6 additions and 4 deletions
|
@ -53,10 +53,12 @@ int mbedtls_ssl_tls13_finish_handshake_msg( mbedtls_ssl_context *ssl,
|
|||
size_t msg_len )
|
||||
{
|
||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||
size_t msg_len_with_header;
|
||||
((void) buf_len);
|
||||
|
||||
/* Add reserved 4 bytes for handshake header */
|
||||
ssl->out_msglen = msg_len + 4;
|
||||
msg_len_with_header = msg_len + 4;
|
||||
ssl->out_msglen = msg_len_with_header;
|
||||
MBEDTLS_SSL_PROC_CHK( mbedtls_ssl_write_handshake_msg_ext( ssl, 0 ) );
|
||||
|
||||
cleanup:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue