summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-06-06 15:18:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-06-07 12:40:59 +0200
commitac7e0fac532dded716279e15fda451ff1b706290 (patch)
tree75b397b6d98923f37d5fa3b6e358096d8e6810c1 /CMakeLists.txt
parentf23ac74e05b50cd096323aa3c809a62cf373faa0 (diff)
downloadtdelibs-ac7e0fac532dded716279e15fda451ff1b706290.tar.gz
tdelibs-ac7e0fac532dded716279e15fda451ff1b706290.zip
Fix definitions of slot constants for old cryptsetup API.
This resolves issue #137. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e4fa43de8..9b1325726 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -798,7 +798,7 @@ if( WITH_CRYPTSETUP )
check_c_source_compiles("
#include <stddef.h>
#include <libcryptsetup.h>
- int main(int argc, char *argv[]) { crypt_keyslot_info status = CRYPT_SLOT_INVALID; return 0; } "
+ int main(int argc, char *argv[]) { crypt_keyslot_info status = CRYPT_SLOT_ACTIVE; return 0; } "
HAVE_NEW_CRYPTSETUP )
check_c_source_compiles("
#include <stddef.h>