From 8029e5efd2a264ff9c5c20e81e4c092c11a643eb Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 21 May 2010 09:48:23 +0200 Subject: Added generic implementations for crl_is_newer/certificate_is_newer --- src/libcharon/plugins/stroke/stroke_cred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcharon/plugins/stroke') diff --git a/src/libcharon/plugins/stroke/stroke_cred.c b/src/libcharon/plugins/stroke/stroke_cred.c index e0a5210a9..68703d128 100644 --- a/src/libcharon/plugins/stroke/stroke_cred.c +++ b/src/libcharon/plugins/stroke/stroke_cred.c @@ -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); -- cgit v1.2.3