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.
This commit is contained in:
Nick Mathewson
2016-05-24 10:28:31 -04:00
parent 87134db57c
commit be3875cda2
4 changed files with 13 additions and 8 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (compilation):
- When libscrypt.h is found, but no libscrypt library can be linked,
treat libscrypt as absent. Fixes bug 19161; bugfix on 0.2.6.1-alpha.