From 3c9e39e214e229a0e22bda1a4145942e300d0d5c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 18 Sep 2015 14:57:02 -0500 Subject: [PATCH] Fix prior commit --- tdecore/tdehw/tdestoragedevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp index ff309f0f5..87ee036b6 100644 --- a/tdecore/tdehw/tdestoragedevice.cpp +++ b/tdecore/tdehw/tdestoragedevice.cpp @@ -146,7 +146,7 @@ void TDEStorageDevice::internalInitializeLUKSIfNeeded() { ret = crypt_load(m_cryptDevice, NULL, NULL); if (ret == 0) { int keyslot_count; -#ifdef CRYPTSETUP_OLD_API +#if defined(CRYPTSETUP_OLD_API) || defined(HAVE_CRYPTSETUP_GET_TYPE) kdWarning() << "TDEStorageDevice: The version of libcryptsetup that TDE was compiled against was too old! Most LUKS features will not function" << endl; m_cryptDeviceType = TQString::null; keyslot_count = 0;