diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-24 10:28:31 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-24 10:31:02 -0400 |
commit | be3875cda2c45d8cd057c00e0bcc16bef9067d90 (patch) | |
tree | 1bf9ca9e9915ba60a2cb744ead1291f3a09a579f /configure.ac | |
parent | 87134db57cc7cbbd801e5992ce6ca6a71e2ebfc8 (diff) | |
download | tor-be3875cda2c45d8cd057c00e0bcc16bef9067d90.tar.gz tor-be3875cda2c45d8cd057c00e0bcc16bef9067d90.zip |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a487948745..59433c2a65 100644 --- a/configure.ac +++ b/configure.ac @@ -833,6 +833,7 @@ dnl Check for libscrypt if test "x$enable_libscrypt" != "xno"; then AC_CHECK_HEADERS([libscrypt.h]) AC_SEARCH_LIBS(libscrypt_scrypt, [scrypt]) + AC_CHECK_FUNCS([libscrypt_scrypt]) fi dnl ============================================================ |