Added generic implementations for crl_is_newer/certificate_is_newer

This commit is contained in:
Martin Willi
2010-05-21 16:25:51 +02:00
parent 654218a31b
commit 8029e5efd2
8 changed files with 78 additions and 11 deletions
+1 -1
View File
@@ -378,7 +378,7 @@ static bool add_crl(private_stroke_cred_t *this, crl_t* crl)
}
if (found)
{
new = cert->is_newer(cert, current);
new = crl_is_newer(crl, crl_c);
if (new)
{
this->certs->remove_at(this->certs, enumerator);