mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 14:25:36 +01:00
Minor improvement in ssl_tls13_keys.c
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
ab2ce23f92
commit
00debc734b
@ -111,7 +111,7 @@ static void ssl_tls1_3_hkdf_encode_label(
|
|||||||
|
|
||||||
/* Add context value */
|
/* Add context value */
|
||||||
*p++ = (unsigned char)( clen & 0xFF );
|
*p++ = (unsigned char)( clen & 0xFF );
|
||||||
if( ctx != NULL )
|
if( clen != 0 )
|
||||||
memcpy( p, ctx, clen );
|
memcpy( p, ctx, clen );
|
||||||
|
|
||||||
/* Return total length to the caller. */
|
/* Return total length to the caller. */
|
||||||
|
Loading…
Reference in New Issue
Block a user