aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-30 17:57:31 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-01-02 16:57:16 -0700
commit0fb78b15aad74498d7f36785d5618edca7e83508 (patch)
treeb337ad0fdfbe975ff59d44beda2eac02a26e40a4 /src/zig_llvm.cpp
parent341e68ff8fb83a146f6000b2214c1eae668e9667 (diff)
downloadzig-0fb78b15aad74498d7f36785d5618edca7e83508.tar.gz
zig-0fb78b15aad74498d7f36785d5618edca7e83508.zip
std.crypto.tls: use a Decoder abstraction
This commit introduces tls.Decoder and then uses it in tls.Client. The purpose is to make it difficult to introduce vulnerabilities in the parsing code. With this abstraction in place, bugs in the TLS implementation will trip checks in the decoder, regardless of the actual length of packets sent by the other party, so that we can have confidence when using ReleaseFast builds.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions