commit | 94682d1d7d4a8492b0e832318bad670b427167b8 | [log] [tgz] |
---|---|---|
author | Andres Amaya Garcia <andres.amayagarcia@arm.com> | Thu Jul 20 14:26:37 2017 +0100 |
committer | Andres Amaya Garcia <andres.amayagarcia@arm.com> | Thu Jul 20 14:26:37 2017 +0100 |
tree | 7d06cd0e79b1f04dbfbaa8d8da45bbb5f50a9389 | |
parent | 6a3f30514a21d06aa27acd9cc63ab0c0f53f17b7 [diff] |
Fix use of unitialized ret in rsa.c
diff --git a/library/rsa.c b/library/rsa.c index bd97d52..4daa5b3 100644 --- a/library/rsa.c +++ b/library/rsa.c
@@ -574,7 +574,7 @@ unsigned char *p; unsigned int hlen; size_t i, use_len; - int ret; + int ret = 0; memset( mask, 0, MBEDTLS_MD_MAX_SIZE ); memset( counter, 0, 4 );