Flush certificate cache on CA delete
authorMartin Willi <martin@revosec.ch>
Mon, 7 Jun 2010 11:51:18 +0000 (13:51 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 7 Jun 2010 11:51:18 +0000 (13:51 +0200)
src/libcharon/plugins/stroke/stroke_ca.c

index 49146f1..0799584 100644 (file)
@@ -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);
 }
 
 /**