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