]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
vici: Clear credential cache when unloading an authority section
authorTobias Brunner <tobias@strongswan.org>
Wed, 20 May 2020 13:05:44 +0000 (15:05 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 20 Jul 2020 12:05:38 +0000 (14:05 +0200)
src/libcharon/plugins/vici/vici_authority.c

index 30a64298441c60a3db7924277e712475ca3477f9..c9955885e703d982b97225552317589008e7c501 100644 (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);
 }