# @TEST-EXEC: zeek -b -C -r $TRACES/tls/imap-starttls.pcap %INPUT
# @TEST-EXEC: btest-diff conn.log
# @TEST-EXEC: btest-diff ssl.log
# @TEST-EXEC: btest-diff x509.log
# @TEST-EXEC: btest-diff .stdout

@load base/protocols/ssl
@load base/protocols/conn
@load base/protocols/imap

redef SSL::log_include_server_certificate_subject_issuer=T;

event imap_starttls(c: connection)
	{
	print "Tls started for connection";
	}
