summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 14:57:02 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 14:57:02 -0500
commit3c9e39e214e229a0e22bda1a4145942e300d0d5c (patch)
tree85f06d22d6f348da98ff18359f5d90fd26e262c0
parent69a43103d9bd250eb59cf6ad7efcafe9ca13f139 (diff)
downloadtdelibs-3c9e39e214e229a0e22bda1a4145942e300d0d5c.tar.gz
tdelibs-3c9e39e214e229a0e22bda1a4145942e300d0d5c.zip
Fix prior commit
-rw-r--r--tdecore/tdehw/tdestoragedevice.cpp2
1 files changed, 1 insertions, 1 deletions
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;