From: Tobias Brunner Date: Wed, 20 May 2020 13:05:44 +0000 (+0200) Subject: vici: Clear credential cache when unloading an authority section X-Git-Tag: 5.9.0rc1~8^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fc1b2c3d32dc410ba8018647976e150ea003ce8;p=thirdparty%2Fstrongswan.git vici: Clear credential cache when unloading an authority section --- diff --git a/src/libcharon/plugins/vici/vici_authority.c b/src/libcharon/plugins/vici/vici_authority.c index 30a6429844..c9955885e7 100644 --- a/src/libcharon/plugins/vici/vici_authority.c +++ b/src/libcharon/plugins/vici/vici_authority.c @@ -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); }