|
|
@ -4434,7 +4434,7 @@ int LDAPManager::generatePKICRL(int expirydays, LDAPRealmConfig realmcfg, TQStri
|
|
|
|
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
|
|
|
|
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
|
|
|
|
if (cert) {
|
|
|
|
if (cert) {
|
|
|
|
bool expired = false;
|
|
|
|
bool expired = false;
|
|
|
|
if (TQDate::currentDate().daysTo(cert->getQDTNotAfter().date()) < 0) {
|
|
|
|
if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
|
|
|
|
expired = true;
|
|
|
|
expired = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|