Merge pull request #1925

93b32892 Silence warning about possibly uninitialized pointer (Guillaume LE VAILLANT)
This commit is contained in:
Riccardo Spagni 2017-03-25 17:36:23 +02:00
commit b1313aefd8
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -530,7 +530,7 @@ void cn_slow_hash(const void *data, size_t length, char *hash)
size_t i, j; size_t i, j;
uint64_t *p = NULL; uint64_t *p = NULL;
oaes_ctx *aes_ctx; oaes_ctx *aes_ctx = NULL;
int useAes = !force_software_aes() && check_aes_hw(); int useAes = !force_software_aes() && check_aes_hw();
static void (*const extra_hashes[4])(const void *, size_t, char *) = static void (*const extra_hashes[4])(const void *, size_t, char *) =