zeek/testing/btest/scripts/base/protocols/ssl/x509_extensions.test
Jon Siwek 7967a5b0aa General btest cleanup
- Use `-b` most everywhere, it will save time.

- Start some intel tests upon the input file being fully read instead of
  at an arbitrary time.

- Improve termination condition for some sumstats/cluster tests.

- Filter uninteresting output from some supervisor tests.

- Test for `notice_policy.log` is no longer needed.
2020-08-11 11:26:22 -07:00

13 lines
383 B
Text

# @TEST-EXEC: zeek -b -r $TRACES/tls/tls1.2.trace %INPUT
# @TEST-EXEC: btest-diff .stdout
@load base/protocols/ssl
@load base/files/x509
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;
}