last ssl fixes - missed three more.

This is the last one, I promise.
This commit is contained in:
Bernhard Amann 2014-05-21 11:24:47 -07:00
parent 9a8fc7a47d
commit cb2eb0228b
3 changed files with 5 additions and 3 deletions

View file

@ -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];