diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-07 12:51:19 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-09-07 12:51:19 -0500 |
commit | 897752b61a622dca67b10519e989d986f460ce14 (patch) | |
tree | 03a70d35517d2ee1c856ac924d75c34dfd00716f /tdecore/tdehw | |
parent | 9d5f5058a1e5e34b0f67c4a54a785975780119dd (diff) | |
download | tdelibs-897752b61a622dca67b10519e989d986f460ce14.tar.gz tdelibs-897752b61a622dca67b10519e989d986f460ce14.zip |
Fix FTBFS when cryptsetup support disabled
Diffstat (limited to 'tdecore/tdehw')
-rw-r--r-- | tdecore/tdehw/tdestoragedevice.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp index cdf004fb4..618a29c1b 100644 --- a/tdecore/tdehw/tdestoragedevice.cpp +++ b/tdecore/tdehw/tdestoragedevice.cpp @@ -97,6 +97,7 @@ TDEDiskDeviceType::TDEDiskDeviceType TDEStorageDevice::diskType() { } void TDEStorageDevice::internalGetLUKSKeySlotStatus() { +#if defined(WITH_CRYPTSETUP) unsigned int i; crypt_keyslot_info keyslot_status; TDELUKSKeySlotStatus::TDELUKSKeySlotStatus tde_keyslot_status; @@ -116,6 +117,7 @@ void TDEStorageDevice::internalGetLUKSKeySlotStatus() { } m_cryptKeyslotStatus.append(tde_keyslot_status); } +#endif } void TDEStorageDevice::internalInitializeLUKSIfNeeded() { |