|
|
|
@ -540,11 +540,11 @@ void UserConfigDialog::updatePKICertificateList() {
|
|
|
|
|
if (cert) {
|
|
|
|
|
TQString status = i18n("Invalid");
|
|
|
|
|
if (certificateData.first == PKICertificateStatus::Valid) {
|
|
|
|
|
if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
|
|
|
|
|
if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
|
|
|
|
|
status = i18n("Expired");
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
|
|
|
|
|
if (TQDateTime::currentDateTime(TQt::UTC) < cert->getQDTNotBefore()) {
|
|
|
|
|
status = i18n("Future Valid");
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|