mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-22 12:15:15 +00:00
Fix macro use in ssl_msg.c
After implementing MBEDTLS_PUT_UINT16_BE, I did not remove the assignment to a variable Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
This commit is contained in:
parent
b1f6eef88b
commit
11b7131c2e
|
@ -494,7 +494,7 @@ static void ssl_mac( mbedtls_md_context_t *md_ctx,
|
|||
|
||||
memcpy( header, ctr, 8 );
|
||||
header[8] = (unsigned char) type;
|
||||
header[9] = MBEDTLS_PUT_UINT16_BE( len, header, 9);
|
||||
MBEDTLS_PUT_UINT16_BE( len, header, 9);
|
||||
|
||||
memset( padding, 0x36, padlen );
|
||||
mbedtls_md_starts( md_ctx );
|
||||
|
|
Loading…
Reference in a new issue