|
|
@ -1081,7 +1081,7 @@ int LDAPManager::updateUserInfo(LDAPUserInfo user, TQString *errstr) {
|
|
|
|
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
|
|
|
|
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
|
|
|
|
if (cert) {
|
|
|
|
if (cert) {
|
|
|
|
bool expired = false;
|
|
|
|
bool expired = false;
|
|
|
|
if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
|
|
|
|
if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
|
|
|
|
expired = true;
|
|
|
|
expired = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -4766,7 +4766,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 (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
|
|
|
|
if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
|
|
|
|
expired = true;
|
|
|
|
expired = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|