summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-09-04 20:12:00 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-09-04 20:12:00 +0200
commit35d7c1f88785f12547ca6081780b8780f29602ba (patch)
tree4a65f8c2a56426126479f3f0f0ec51b1f2c7472d
parent538277ed86693dcd8b7edc7f53d197709b65390a (diff)
fix: depend on libsodium >=1.0.17. Fixes #6506
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bd92bd0e9..75e11bd4f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1036,9 +1036,10 @@ AC_CHECK_LIB([kvm],[kvm_open])
AC_CHECK_LIB([kstat],[kstat_open])
libsodium=0
-# test for libsodium
+# test for libsodium >=1.017 (introduction of
+# crypto_scalarmult_ed25519_base_noclamp API)
AC_CHECK_HEADER([sodium.h],
- [AC_CHECK_LIB([sodium], [crypto_pwhash_argon2id],
+ [AC_CHECK_LIB([sodium], [crypto_scalarmult_ed25519_base_noclamp],
[libsodium=1])])
AS_IF([test x$libsodium = x0],