aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-06-07 13:51:18 +0200
committerMartin Willi <martin@revosec.ch>2010-06-07 13:51:18 +0200
commitd5ad6eb1e025f88c448e85cf5a690cc35673538e (patch)
treec4c80d6f70ca95e100871061dfc87e677397f9c1
parenta3ffa9edfdb9cf2215f554e4ce75e813799b906a (diff)
downloadstrongswan-d5ad6eb1e025f88c448e85cf5a690cc35673538e.tar.bz2
strongswan-d5ad6eb1e025f88c448e85cf5a690cc35673538e.tar.xz
Flush certificate cache on CA delete
-rw-r--r--src/libcharon/plugins/stroke/stroke_ca.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_ca.c b/src/libcharon/plugins/stroke/stroke_ca.c
index 49146f18b..07995849b 100644
--- a/src/libcharon/plugins/stroke/stroke_ca.c
+++ b/src/libcharon/plugins/stroke/stroke_ca.c
@@ -306,7 +306,8 @@ static void del(private_stroke_ca_t *this, stroke_msg_t *msg)
return;
}
ca_section_destroy(ca);
- /* TODO: flush cached certs */
+
+ charon->credentials->flush_cache(charon->credentials, CERT_ANY);
}
/**