mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 04:28:20 +00:00
Address feedback
Smaller fixes. I split out the API change of the fallback function into a separate commit.
This commit is contained in:
parent
0a7b358985
commit
3ed9379b9e
4 changed files with 9 additions and 15 deletions
|
@ -902,7 +902,7 @@ function x509_set_certificate_cache%(tbl: string_any_table%) : bool
|
|||
%{
|
||||
file_analysis::X509::SetCertificateCache({NewRef{}, tbl->AsTableVal()});
|
||||
|
||||
return val_mgr->GetBool(1);
|
||||
return val_mgr->GetTrue();
|
||||
%}
|
||||
|
||||
## This function sets up the callback that is called when an entry is matched against the table set
|
||||
|
@ -920,5 +920,5 @@ function x509_set_certificate_cache_hit_callback%(f: string_file_hook%) : bool
|
|||
%{
|
||||
file_analysis::X509::SetCertificateCacheHitCallback({NewRef{}, f->AsFunc()});
|
||||
|
||||
return val_mgr->GetBool(1);
|
||||
return val_mgr->GetTrue();
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue