Commit Graph

4 Commits

Author SHA1 Message Date
Joseph Birr-Pixton d6176ed6ac Update fuzz targets
Prepare to run them in CI
2020-06-14 11:14:40 +01:00
Joseph Birr-Pixton f07f8b135d Refactor deframer to hopefully improve clarity
There were some unwraps here that we can get rid of if we unduplicate
the work Message::read already does.  That goes in Message::read_with_detailed_error.

Delete a fuzz corpus file that was actually wrong, but allowed by Message::read's
previous lax semantics.
2020-05-16 18:26:02 +01:00
Brian Smith 8e3d87dc8d Take the DNS hostname as a webpki::DNSNameRef in ClientSession.
Make it clear that the name passed into ClientSession is a DNS name
and cannot be empty (""), an IP address, an internationalized domain
name, etc. It has to be a DNS hostname because it is put into the SNI
extension in the client hello.
2017-09-01 16:47:52 -10:00
Joseph Birr-Pixton ffba1587fa Add cargo-fuzz support
This has some captured starting points for TLS messages and
some traffic transcripts.
2017-05-09 00:12:42 +01:00