mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Check certificate expired
This commit is contained in:
parent
85986c2916
commit
41f00c2310
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public static Instant getCertificateExpired(KeyStore keyStore, String keyAlias)
|
|||
if(x509Certificate.getNotAfter() == null) {
|
||||
continue;
|
||||
}
|
||||
if(date == null || date.before(x509Certificate.getNotAfter())) {
|
||||
if(date == null || date.after(x509Certificate.getNotAfter())) {
|
||||
date = x509Certificate.getNotAfter();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue