mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
last ssl fixes - missed three more.
This is the last one, I promise.
This commit is contained in:
parent
9a8fc7a47d
commit
cb2eb0228b
3 changed files with 5 additions and 3 deletions
|
@ -38,7 +38,8 @@ event ssl_established(c: connection) &priority=3
|
|||
{
|
||||
# If there are no certificates or we are not interested in the server, just return.
|
||||
if ( ! c$ssl?$cert_chain || |c$ssl$cert_chain| == 0 ||
|
||||
! addr_matches_host(c$id$resp_h, notify_certs_expiration) )
|
||||
! addr_matches_host(c$id$resp_h, notify_certs_expiration) ||
|
||||
! c$ssl$cert_chain[0]?$x509 )
|
||||
return;
|
||||
|
||||
local fuid = c$ssl$cert_chain_fuids[0];
|
||||
|
|
|
@ -39,7 +39,7 @@ function clear_waitlist(digest: string)
|
|||
|
||||
event ssl_established(c: connection) &priority=3
|
||||
{
|
||||
if ( ! c$ssl?$cert_chain || |c$ssl$cert_chain| == 0 )
|
||||
if ( ! c$ssl?$cert_chain || |c$ssl$cert_chain| == 0 || ! c$ssl$cert_chain[0]?$sha1 )
|
||||
return;
|
||||
|
||||
local digest = c$ssl$cert_chain[0]$sha1;
|
||||
|
|
|
@ -37,7 +37,8 @@ event ssl_established(c: connection) &priority=3
|
|||
{
|
||||
# If there are no certificates or we are not interested in the server, just return.
|
||||
if ( ! c$ssl?$cert_chain || |c$ssl$cert_chain| == 0 ||
|
||||
! addr_matches_host(c$id$resp_h, notify_weak_keys) )
|
||||
! addr_matches_host(c$id$resp_h, notify_weak_keys) ||
|
||||
! c$ssl$cert_chain[0]?$x509 )
|
||||
return;
|
||||
|
||||
local fuid = c$ssl$cert_chain_fuids[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue