sfackler / rust-native-tls

Apache License 2.0
468 stars 197 forks source link

TLS 1.3 version support #278

Open amousset opened 11 months ago

amousset commented 11 months ago

Refs: #159, #235, #140

It looks like schannel and openssl > 1.1.1 (and compatible libressl) are the only compatible option for now:

~Relying on build-time check on openssl version makes it hard to use for downstream crates though. I don't see anything better than defining TLS 1.3 everywhere and enforcing a runtime error at connection instead.~ Switched to run time errors.

amousset commented 6 months ago

@sfackler The comments were addressed, does the current PR look acceptable?