mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
X509 caching API change: callback gets entry directly
Suggestion from Jon: now the callback is passed the table-entry directly. This allows us to skip one lookup.
This commit is contained in:
parent
3ed9379b9e
commit
e228061f1d
6 changed files with 11 additions and 10 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
redef X509::caching_required_encounters = 1;
|
||||
|
||||
hook X509::x509_certificate_cache_replay(f: fa_file, sha256: string) &priority=1
|
||||
hook X509::x509_certificate_cache_replay(f: fa_file, e: any, sha256: string) &priority=1
|
||||
{
|
||||
print "Encountered cached certificate not further handled by core", sha256;
|
||||
break;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
redef X509::caching_required_encounters = 1;
|
||||
|
||||
hook X509::x509_certificate_cache_replay(f: fa_file, sha256: string) &priority=1
|
||||
hook X509::x509_certificate_cache_replay(f: fa_file, e: any, sha256: string) &priority=1
|
||||
{
|
||||
print "Encountered cached certificate not further handled by core", sha256;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue