aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/stroke
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-05-21 09:48:23 +0200
committerMartin Willi <martin@revosec.ch>2010-05-21 16:25:51 +0200
commit8029e5efd2a264ff9c5c20e81e4c092c11a643eb (patch)
treee4f40bc654f29ffffd19ef33472e53f1003aaf58 /src/libcharon/plugins/stroke
parent654218a31b899976ae1788eb5820fc2656a37ab6 (diff)
downloadstrongswan-8029e5efd2a264ff9c5c20e81e4c092c11a643eb.tar.bz2
strongswan-8029e5efd2a264ff9c5c20e81e4c092c11a643eb.tar.xz
Added generic implementations for crl_is_newer/certificate_is_newer
Diffstat (limited to 'src/libcharon/plugins/stroke')
-rw-r--r--src/libcharon/plugins/stroke/stroke_cred.c2
1 files changed, 1 insertions, 1 deletions
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);