Require libgcrypt >= 1.6.0.

Remove our own Salsa20 implementation as libgcrypt ships one
with that version.
This commit is contained in:
Felix Geyer
2015-07-22 23:40:26 +02:00
parent d81565df55
commit 60daa2b41b
11 changed files with 1 additions and 1109 deletions

View File

@@ -172,11 +172,7 @@ set(CMAKE_AUTOMOC ON)
# Make sure we don't enable asserts there.
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS_NONE QT_NO_DEBUG)
find_package(Gcrypt REQUIRED)
if(NOT (${GCRYPT_VERSION_STRING} VERSION_LESS "1.6.0"))
message(STATUS "Gcrypt ${GCRYPT_VERSION_STRING} supports the SALSA20 cipher")
set(GCRYPT_HAS_SALSA20 1)
endif()
find_package(Gcrypt 1.6.0 REQUIRED)
find_package(ZLIB REQUIRED)