-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: configure
KeyLogFile
for all examples.
The example programs distributed with Rustls are often used to demonstrate TLS features, or debug issues, that require being able to view plaintext data captured in a pcap (e.g. with Wireshark). To make this convenient this commit updates the examples (minus the MIO examples that already did so ) to configure Rustls with a `KeyLogFile` implementation of the `KeyLog` trait. Users can then specify the `SSLKEYLOGFILE` environment variable to log the required session secrets for use with their pcap tool of choice.
- Loading branch information
Showing
3 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters