vici: Clear credential cache when unloading an authority section

This commit is contained in:
Tobias Brunner 2020-05-20 15:05:44 +02:00
parent 46ff268885
commit 6fc1b2c3d3
1 changed files with 1 additions and 0 deletions

View File

@ -504,6 +504,7 @@ CALLBACK(unload_authority, vici_message_t*,
{
return create_reply("unload: authority '%s' not found", authority_name);
}
lib->credmgr->flush_cache(lib->credmgr, CERT_ANY);
return create_reply(NULL);
}