Fix compiler warnings with openssl-scrypt/libscrypt test on clang
commit3cec1783b7960a37ef51b5dc86dd1492b608f6e7
authorNick Mathewson <nickm@torproject.org>
Thu, 13 Jul 2017 21:49:48 +0000 (13 17:49 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 13 Jul 2017 21:49:48 +0000 (13 17:49 -0400)
tree0fc0cecab03b6cc7b64efddd19ce834696e452bc
parent5472066cd21099d406e69ef810b83c153bd21e5b
Fix compiler warnings with openssl-scrypt/libscrypt test on clang

Clang didn't like that we were passing uint64_t values to an API
that wanted uint32_t.  GCC has either not cared, or has figured out
that the values in question were safe to cast to uint32_t.

Fixes bug22916; bugfix on 0.2.7.2-alpha.
changes/bug22916_027 [new file with mode: 0644]
src/test/test_crypto_slow.c