Merge pull request #3311 from sander-visser/validate-tls-mac-key-len

Add variable initialization to large SSL TLS function
This commit is contained in:
Janos Follath 2020-05-11 09:39:01 +01:00 committed by GitHub
commit 1a4a3f5924
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;