summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libtdeldap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index b92ed47..25f584d 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -1081,7 +1081,7 @@ int LDAPManager::updateUserInfo(LDAPUserInfo user, TQString *errstr) {
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
if (cert) {
bool expired = false;
- if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
expired = true;
}
@@ -4766,7 +4766,7 @@ int LDAPManager::generatePKICRL(int expirydays, LDAPRealmConfig realmcfg, TQStri
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
if (cert) {
bool expired = false;
- if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
expired = true;
}