vici: Fix refcount for CA certificates when reloading authority sections
Fixes: 3c5e7eaa88 ("vici: Keep track of all CA certificates in vici_authority_t")
This commit is contained in:
@@ -547,6 +547,8 @@ CALLBACK(authority_sn, bool,
|
||||
{
|
||||
/* remove the old authority definition */
|
||||
authorities->remove_at(authorities, enumerator);
|
||||
request->this->certs->remove(request->this->certs, authority->cert,
|
||||
remove_cert);
|
||||
authority_destroy(authority);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user