diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-05-17 18:10:38 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-05-18 02:14:50 +0200 |
commit | e031e12d06c77e0a05ad0c30c21f3afea94764af (patch) | |
tree | 0ff0fc4a899b33b2fe83f7c3a2c98b6f48a2f9a9 /kdesktop/lockeng.cpp | |
parent | 1389e296969df0acf7f393b698a3a0f1fb572026 (diff) | |
download | tdebase-e031e12d06c77e0a05ad0c30c21f3afea94764af.tar.gz tdebase-e031e12d06c77e0a05ad0c30c21f3afea94764af.zip |
Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kdesktop/lockeng.cpp')
-rw-r--r-- | kdesktop/lockeng.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdesktop/lockeng.cpp b/kdesktop/lockeng.cpp index 75c2e5f98..5e32fd0f6 100644 --- a/kdesktop/lockeng.cpp +++ b/kdesktop/lockeng.cpp @@ -13,7 +13,7 @@ #include <sys/stat.h> #include <tdeglobal.h> -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB #include <ksslcertificate.h> #include <kuser.h> #include <tdehardwaredevices.h> @@ -200,7 +200,7 @@ SaverEngine::SaverEngine() delete config; config = NULL; -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB // Initialize SmartCard readers TDEGenericDevice *hwdevice; TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); @@ -265,7 +265,7 @@ void SaverEngine::cardStartupTimeout() { } void SaverEngine::cryptographicCardInserted(TDECryptographicCardDevice* cdevice) { -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB TQString login_name = TQString::null; X509CertificatePtrList certList = cdevice->cardX509Certificates(); if (certList.count() > 0) { @@ -291,7 +291,7 @@ void SaverEngine::cryptographicCardInserted(TDECryptographicCardDevice* cdevice) } void SaverEngine::cryptographicCardRemoved(TDECryptographicCardDevice* cdevice) { -#ifdef __TDE_HAVE_TDEHWLIB +#ifdef WITH_TDEHWLIB if (mValidCryptoCardInserted) { mValidCryptoCardInserted = false; |