mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
openssl: Fail CRL validity check if thisUpdate is in the future
This commit is contained in:
parent
a0902d1ae0
commit
9c6b102ee0
@ -358,7 +358,7 @@ METHOD(certificate_t, get_validity, bool,
|
||||
{
|
||||
*not_after = this->nextUpdate;
|
||||
}
|
||||
return t <= this->nextUpdate;
|
||||
return (t >= this->thisUpdate && t <= this->nextUpdate);
|
||||
}
|
||||
|
||||
METHOD(certificate_t, get_encoding, bool,
|
||||
|
Loading…
x
Reference in New Issue
Block a user