diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-11-08 02:01:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-08 02:01:52 -0500 |
| commit | e5f5229fd6f9d0fe684ab32cce8f2b18e02c115b (patch) | |
| tree | c9fb5a5324d741042de3c581d8719bb2b27c889a /lib/std/std.zig | |
| parent | ee9f00d673f2bccddc2751c328758a2820d2bb70 (diff) | |
| parent | 9373abf7f77c37094f9ba6ca68287d8a06ebafa0 (diff) | |
| download | zig-e5f5229fd6f9d0fe684ab32cce8f2b18e02c115b.tar.gz zig-e5f5229fd6f9d0fe684ab32cce8f2b18e02c115b.zip | |
Merge pull request #21872 from jacobly0/tlsv1.2
std.crypto.tls: implement TLSv1.2
Diffstat (limited to 'lib/std/std.zig')
| -rw-r--r-- | lib/std/std.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/std/std.zig b/lib/std/std.zig index 6dbb4c0843..cc61111746 100644 --- a/lib/std/std.zig +++ b/lib/std/std.zig @@ -146,6 +146,11 @@ pub const Options = struct { /// make a HTTPS connection. http_disable_tls: bool = false, + /// This enables `std.http.Client` to log ssl secrets to the file specified by the SSLKEYLOGFILE + /// env var. Creating such a log file allows other programs with access to that file to decrypt + /// all `std.http.Client` traffic made by this program. + http_enable_ssl_key_log_file: bool = @import("builtin").mode == .Debug, + side_channels_mitigations: crypto.SideChannelsMitigations = crypto.default_side_channels_mitigations, }; |
