aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/slow-hash.c
diff options
context:
space:
mode:
authorGuillaume LE VAILLANT <guillaume.le.vaillant@openmailbox.org>2017-03-25 13:47:31 +0100
committerGuillaume LE VAILLANT <guillaume.le.vaillant@openmailbox.org>2017-03-25 13:53:14 +0100
commit93b32892f72ecb77f5d9daa2fbb9d0cc6e53abc4 (patch)
tree3e5ad86dbb2a7f8bcc36d9367df813be7514ccfc /src/crypto/slow-hash.c
parentMerge pull request #1920 (diff)
downloadmonero-93b32892f72ecb77f5d9daa2fbb9d0cc6e53abc4.tar.xz
Silence warning about possibly uninitialized pointer
Diffstat (limited to 'src/crypto/slow-hash.c')
-rw-r--r--src/crypto/slow-hash.c2
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 *) =