Small bugfix and updates for external test hashes (SSL/X509)

This commit is contained in:
Johanna Amann 2021-06-29 15:25:08 +01:00
parent e4b2fa50a9
commit 93d7778f97
3 changed files with 4 additions and 3 deletions

View file

@ -107,7 +107,8 @@ event ssl_established(c: connection) &priority=5
function data_channel_initial_criteria(c: connection): bool
{
return ( c?$ssl && |c$ssl$cert_chain| > 0 && |c$ssl$client_cert_chain| > 0 &&
return ( c?$ssl && c$ssl?$cert_chain && c$ssl?$client_cert_chain &&
|c$ssl$cert_chain| > 0 && |c$ssl$client_cert_chain| > 0 &&
c$ssl?$cipher && /WITH_NULL/ in c$ssl$cipher );
}