Added options to flush CRLs/X509 certs from the cert cache
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user