commit 3a7d757140c344986fba5769b47dc10d925fe119
parent ed0fb218342dcf7cc54f6abd9078dcd3efa5452c
Author: Nick Mathewson <nickm@torproject.org>
Date: Fri, 14 Jul 2017 09:11:08 -0400
Merge branch 'bug22916_027' into maint-0.2.9
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/changes/bug22916_027 b/changes/bug22916_027
@@ -0,0 +1,3 @@
+ o Minor bugfixes (Compilation):
+ - Fix warnings when building with libscrypt and openssl scrypt support
+ on Clang. Fixes bug 22916; bugfix on 0.2.7.2-alpha.
diff --git a/src/test/test_crypto_slow.c b/src/test/test_crypto_slow.c
@@ -137,7 +137,8 @@ test_libscrypt_eq_openssl(void *arg)
uint8_t buf1[64];
uint8_t buf2[64];
- uint64_t N, r, p;
+ uint64_t N;
+ uint32_t r, p;
uint64_t maxmem = 0; // --> SCRYPT_MAX_MEM in OpenSSL.
int libscrypt_retval, openssl_retval;