summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-04-20 15:39:02 +0200
committert3sserakt <t3ss@posteo.de>2021-04-20 15:39:02 +0200
commit11f5b0148a8343c776b2562494840ad2963959fb (patch)
tree5bd5bf69ed75f2e5252f4519e022325a3a8cc3ad
parent1fc1b732d334d86d16c5284a9363033bce678096 (diff)
- added check for libsodium 1.0.18
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 0a895e1f8..e66103b58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1060,14 +1060,14 @@ AC_CHECK_LIB([kvm],[kvm_open])
AC_CHECK_LIB([kstat],[kstat_open])
libsodium=0
-# test for libsodium >=1.017 (introduction of
+# test for libsodium >=1.018 (introduction of
# crypto_scalarmult_ed25519_base_noclamp API)
AC_CHECK_HEADER([sodium.h],
- [AC_CHECK_LIB([sodium], [crypto_scalarmult_ed25519_base_noclamp],
+ [AC_CHECK_LIB([sodium], [crypto_core_ed25519_scalar_mul],
[libsodium=1])])
AS_IF([test x$libsodium = x0],
- [AC_MSG_ERROR([GNUnet requires libsodium.])])
+ [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18.])])
# test for libextractor
extractor=0