zeek/testing/btest/scripts/base/protocols/ssl
Bernhard Amann 6d73b8c57e Fix x509_extension event.
The event now really returns the extension. If openssl supports printing
it, it is converted into the openssl ascii output.

The output does not always look pretty because it can contain newlines.

New event syntax:
event x509_extension(c: connection, is_orig: bool, cert:X509, extension: X509_extension_info)

Example output for extension:
  [name=X509v3 Extended Key Usage,
    short_name=extendedKeyUsage,
    oid=2.5.29.37,
    critical=F,
    value=TLS Web Server Authentication, TLS Web Client Authentication]
  [name=X509v3 Certificate Policies,
   short_name=certificatePolicies,
   oid=2.5.29.32,
   critical=F,
   value=Policy: 1.3.6.1.4.1.6449.1.2.1.3.4^J  CPS: https://secure.comodo.com/CPS^J]
2014-01-27 10:24:57 -08:00
..
basic.test More bugfixs, cleanup, and test for SSL analyzer 2012-05-03 10:52:24 -04:00
tls-1.2-ciphers.test Change ciphers in changes ciphers from a set to a vector. 2013-12-04 11:38:15 -08:00
tls-1.2-random.test Change ciphers in changes ciphers from a set to a vector. 2013-12-04 11:38:15 -08:00
tls-1.2.test Single character fix to correct support for TLS 1.2 (my bad). 2013-07-02 14:49:36 -04:00
x509_extensions.test Fix x509_extension event. 2014-01-27 10:24:57 -08:00