zeek/testing/btest/scripts/base/protocols/ssl/x509_extensions.test
Bernhard Amann 4da0718511 Finishing touches of the x509 file analyzer.
Mostly baseline updates and new tests.

addresses BIT-953, BIT-760, BIT-1150
2014-03-13 15:21:30 -07:00

10 lines
331 B
Text

# @TEST-EXEC: bro -r $TRACES/tls/tls1.2.trace %INPUT
# @TEST-EXEC: btest-diff .stdout
event x509_extension(f: fa_file, extension: X509::Extension)
{
# The formatting of CRL Distribution Points varies between OpenSSL versions. Skip it
# for the test.
if ( extension$short_name != "crlDistributionPoints" )
print extension;
}