summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libtdeldap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index 940a91d..63ff769 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -4434,7 +4434,7 @@ int LDAPManager::generatePKICRL(int expirydays, LDAPRealmConfig realmcfg, TQStri
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
if (cert) {
bool expired = false;
- if (TQDate::currentDate().daysTo(cert->getQDTNotAfter().date()) < 0) {
+ if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
expired = true;
}