apps: Add support for writing a keylog file
authorPeter Wu <peter@lekensteyn.nl>
Wed, 1 Feb 2017 18:14:27 +0000 (19:14 +0100)
committerPeter Wu <peter@lekensteyn.nl>
Tue, 7 Feb 2017 18:20:56 +0000 (19:20 +0100)
commit4bf73e9f86804cfe98b03accfc2dd7cb98e018d6
treeca92a15e8a6b06e1a709e42131fa71c127bbc2fb
parenta19a6c8179faa3da0dedaaf2effae385cf7dd65d
apps: Add support for writing a keylog file

The server and client demos (s_client and s_server) are extended with a
-keylogfile option. This is similar as setting the SSLKEYLOGFILE
environment variable for NSS and creates a keylog file which is suitable
for Wireshark.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2343)
apps/s_apps.h
apps/s_cb.c
apps/s_client.c
apps/s_server.c
doc/man1/s_client.pod
doc/man1/s_server.pod