mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
ssl/validate-certs: Move to Cluster::publish()
This commit is contained in:
parent
3d3706440b
commit
32c9c940bf
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ function add_to_cache(key: string, value: vector of opaque of x509)
|
||||||
{
|
{
|
||||||
intermediate_cache[key] = value;
|
intermediate_cache[key] = value;
|
||||||
@if ( Cluster::is_enabled() )
|
@if ( Cluster::is_enabled() )
|
||||||
Broker::publish(Cluster::manager_topic, SSL::new_intermediate, key, value);
|
Cluster::publish(Cluster::manager_topic, SSL::new_intermediate, key, value);
|
||||||
@endif
|
@endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ event SSL::new_intermediate(key: string, value: vector of opaque of x509)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
intermediate_cache[key] = value;
|
intermediate_cache[key] = value;
|
||||||
Broker::publish(Cluster::worker_topic, SSL::intermediate_add, key, value);
|
Cluster::publish(Cluster::worker_topic, SSL::intermediate_add, key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
function cache_validate(chain: vector of opaque of x509): X509::Result
|
function cache_validate(chain: vector of opaque of x509): X509::Result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue