diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2017-09-05 15:27:22 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-09-05 23:56:54 -0400 |
commit | 6cdba64e13f9599db49e507418ab5571a2f42d4f (patch) | |
tree | c5c54d977a6118de2e33a75fdf0ff9e0ffe47b7f /lib/sendf.h | |
parent | ee5725fb5ec9c196505174b4386221b4db9c637d (diff) |
openssl: Integrate Peter Wu's SSLKEYLOGFILE implementation
This is an adaptation of 2 of Peter Wu's SSLKEYLOGFILE implementations.
The first one, written for old OpenSSL versions:
https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c
The second one, written for BoringSSL and new OpenSSL versions:
https://github.com/curl/curl/pull/1346
Note the first one is GPL licensed but the author gave permission to
waive that license for libcurl.
As of right now this feature is disabled by default, and does not have
a configure option to enable it. To enable this feature define
ENABLE_SSLKEYLOGFILE when building libcurl and set environment
variable SSLKEYLOGFILE to a pathname that will receive the keys.
And in Wireshark change your preferences to point to that key file:
Edit > Preferences > Protocols > SSL > Master-Secret
Co-authored-by: Peter Wu
Ref: https://github.com/curl/curl/pull/1030
Ref: https://github.com/curl/curl/pull/1346
Closes https://github.com/curl/curl/pull/1866
Diffstat (limited to 'lib/sendf.h')
0 files changed, 0 insertions, 0 deletions