Make sure that libscrypt_scrypt actually exists before using it.
commitbe3875cda2c45d8cd057c00e0bcc16bef9067d90
authorNick Mathewson <nickm@torproject.org>
Tue, 24 May 2016 14:28:31 +0000 (24 10:28 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 24 May 2016 14:31:02 +0000 (24 10:31 -0400)
tree1bf9ca9e9915ba60a2cb744ead1291f3a09a579f
parent87134db57cc7cbbd801e5992ce6ca6a71e2ebfc8
Make sure that libscrypt_scrypt actually exists before using it.

Previously, if the header was present, we'd proceed even if the
function wasn't there.

Easy fix for bug 19161.  A better fix would involve trying harder to
find libscrypt_scrypt.
changes/bug19161 [new file with mode: 0644]
configure.ac
src/common/crypto_s2k.c
src/test/test_crypto_slow.c