commit | e73530302698229589971c8af970c8a1b3e13222 | [log] [tgz] |
---|---|---|
author | Nicholas Wilson <nicholas.wilson@realvnc.com> | Wed Apr 13 11:48:25 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Mon May 23 14:29:28 2016 +0100 |
tree | 30cc1b00e63059ee085c390e628fd0f153ae762d | |
parent | 91c68a5e150b096d59a879e0e04d2c8df2f96a3e [diff] [blame] |
Shut up a few clang-analyze warnings about use of uninitialized variables The functions are all safe, Clang just isn't clever enough to realise it.
diff --git a/library/pkcs12.c b/library/pkcs12.c index 7023b9d..c603a13 100644 --- a/library/pkcs12.c +++ b/library/pkcs12.c
@@ -93,7 +93,7 @@ unsigned char *key, size_t keylen, unsigned char *iv, size_t ivlen ) { - int ret, iterations; + int ret, iterations = 0; mbedtls_asn1_buf salt; size_t i; unsigned char unipwd[PKCS12_MAX_PWDLEN * 2 + 2];