diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-03-25 17:36:23 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-03-25 17:36:23 +0200 |
commit | b1313aefd8bb619d8818dd009f3c93ee01cb4c0e (patch) | |
tree | adc54b221740b366182f2312954b909ee69bdcff | |
parent | Merge pull request #1917 (diff) | |
parent | Silence warning about possibly uninitialized pointer (diff) | |
download | monero-0.10.3.tar.xz |
Merge pull request #1925v0.10.3
93b32892 Silence warning about possibly uninitialized pointer (Guillaume LE VAILLANT)
-rw-r--r-- | src/crypto/slow-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index dca58195b..117f158ee 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -530,7 +530,7 @@ void cn_slow_hash(const void *data, size_t length, char *hash) size_t i, j; uint64_t *p = NULL; - oaes_ctx *aes_ctx; + oaes_ctx *aes_ctx = NULL; int useAes = !force_software_aes() && check_aes_hw(); static void (*const extra_hashes[4])(const void *, size_t, char *) = |