Added options to flush CRLs/X509 certs from the cert cache

This commit is contained in:
Martin Willi
2010-12-10 09:45:22 +01:00
parent 68fada37b1
commit 6aa144ddb7
6 changed files with 26 additions and 2 deletions
@@ -359,6 +359,14 @@ static void stroke_purge(private_stroke_socket_t *this,
{
lib->credmgr->flush_cache(lib->credmgr, CERT_X509_OCSP_RESPONSE);
}
if (msg->purge.flags & PURGE_CRL)
{
lib->credmgr->flush_cache(lib->credmgr, CERT_X509_CRL);
}
if (msg->purge.flags & PURGE_X509)
{
lib->credmgr->flush_cache(lib->credmgr, CERT_X509);
}
if (msg->purge.flags & PURGE_IKE)
{
this->control->purge_ike(this->control, msg, out);