mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
SCT: pass timestamp as uint64 instead of time
For verification, we need the exact uint64 as it was seen on the wire; converting it to a double might mean that we loose precision.
This commit is contained in:
parent
dcf4907857
commit
d50bddfbfb
6 changed files with 12 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
# @TEST-EXEC: bro -r $TRACES/tls/signed_certificate_timestamp.pcap %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
event ssl_extension_signed_certificate_timestamp(c: connection, is_orig: bool, version: count, logid: string, timestamp: time, signature_and_hashalgorithm: SSL::SignatureAndHashAlgorithm, signature: string)
|
||||
event ssl_extension_signed_certificate_timestamp(c: connection, is_orig: bool, version: count, logid: string, timestamp: count, signature_and_hashalgorithm: SSL::SignatureAndHashAlgorithm, signature: string)
|
||||
{
|
||||
print version, SSL::ct_logs[logid]$description, timestamp, signature_and_hashalgorithm;
|
||||
print version, SSL::ct_logs[logid]$description, double_to_time(timestamp/1000.0), signature_and_hashalgorithm;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue