fix the caching of recently validated certs

The recently_validated_certs table was being checked for entries, but
missing hashes were not being added to it after validation.
This commit is contained in:
Justin Azoff 2013-12-10 11:27:19 -05:00
parent e8739f785b
commit cbe48258f6

View file

@ -40,6 +40,7 @@ event ssl_established(c: connection) &priority=3
{
local result = x509_verify(c$ssl$cert, c$ssl$cert_chain, root_certs);
c$ssl$validation_status = x509_err2str(result);
recently_validated_certs[c$ssl$cert_hash] = c$ssl$validation_status;
}
if ( c$ssl$validation_status != "ok" )