Skip to content

Commit

Permalink
Fix use of unitialized stack variable
Browse files Browse the repository at this point in the history
Signed-off-by: sander-visser <[email protected]>
  • Loading branch information
sander-visser committed May 6, 2020
1 parent 5435451 commit 914dc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/ssl_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ static int ssl_populate_transform( mbedtls_ssl_transform *transform,
unsigned char *key2;
unsigned char *mac_enc;
unsigned char *mac_dec;
size_t mac_key_len;
size_t mac_key_len = 0;
size_t iv_copy_len;
unsigned keylen;
const mbedtls_ssl_ciphersuite_t *ciphersuite_info;
Expand Down

0 comments on commit 914dc49

Please sign in to comment.