cloudflare / tls-tris

crypto/tls, now with 100% more 1.3. THE API IS NOT STABLE AND DOCUMENTATION IS NOT GUARANTEED.
Other
291 stars 51 forks source link

don't expect CertificateVerify when the client doesn't send any cert #142

Closed marten-seemann closed 5 years ago

marten-seemann commented 5 years ago

Fixes #141.

This is the same code that is used for TLS <1.3 in https://github.com/cloudflare/tls-tris/blob/07ad1769c3d96ff6953d85b5d1e489389d0823ac/handshake_server.go#L581-L588

kriskwiatkowski commented 5 years ago

Thanks!