mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 03:55:44 +01:00
fix uninitialized variables
Signed-off-by: Shelly Liberman <shelly.liberman@arm.com>
This commit is contained in:
parent
560203ae01
commit
c5b0c6e8ae
@ -933,8 +933,8 @@ int tls_prf_generic( mbedtls_md_type_t md_type,
|
||||
{
|
||||
size_t nb;
|
||||
size_t i, j, k, md_len;
|
||||
unsigned char tmp[128];
|
||||
unsigned char h_i[MBEDTLS_MD_MAX_SIZE];
|
||||
unsigned char tmp[128] = {0};
|
||||
unsigned char h_i[MBEDTLS_MD_MAX_SIZE] = {0};
|
||||
mbedtls_md_handle_t md_info;
|
||||
mbedtls_md_context_t md_ctx;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user