mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Correct typo in mbedtls_ssl_flight_transmit()
This commit is contained in:
@ -3037,7 +3037,7 @@ int mbedtls_ssl_flight_transmit( mbedtls_ssl_context *ssl )
|
|||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_BUF( 3, "handshake header", ssl->out_msg, 12 );
|
MBEDTLS_SSL_DEBUG_BUF( 3, "handshake header", ssl->out_msg, 12 );
|
||||||
|
|
||||||
/* Copy the handshame message content and set records fields */
|
/* Copy the handshake message content and set records fields */
|
||||||
memcpy( ssl->out_msg + 12, p, cur_hs_frag_len );
|
memcpy( ssl->out_msg + 12, p, cur_hs_frag_len );
|
||||||
ssl->out_msglen = cur_hs_frag_len + 12;
|
ssl->out_msglen = cur_hs_frag_len + 12;
|
||||||
ssl->out_msgtype = cur->type;
|
ssl->out_msgtype = cur->type;
|
||||||
|
Reference in New Issue
Block a user