|
|
@ -43,11 +43,9 @@
|
|
|
|
#if defined(WITH_CRYPTSETUP)
|
|
|
|
#if defined(WITH_CRYPTSETUP)
|
|
|
|
#ifdef CRYPTSETUP_OLD_API
|
|
|
|
#ifdef CRYPTSETUP_OLD_API
|
|
|
|
#define class cryptsetup_class
|
|
|
|
#define class cryptsetup_class
|
|
|
|
#define CRYPT_SLOT_INVALID INVALID
|
|
|
|
#define CRYPT_SLOT_INACTIVE SLOT_INACTIVE
|
|
|
|
#define CRYPT_SLOT_INACTIVE INACTIVE
|
|
|
|
#define CRYPT_SLOT_ACTIVE SLOT_ACTIVE
|
|
|
|
#define CRYPT_SLOT_ACTIVE ACTIVE
|
|
|
|
#define CRYPT_SLOT_ACTIVE_LAST SLOT_ACTIVE_LAST
|
|
|
|
#define CRYPT_SLOT_BUSY BUSY
|
|
|
|
|
|
|
|
#define CRYPT_SLOT_ACTIVE_LAST ACTIVE
|
|
|
|
|
|
|
|
#include <libcryptsetup.h>
|
|
|
|
#include <libcryptsetup.h>
|
|
|
|
#undef class
|
|
|
|
#undef class
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|