Update documentation about SSLv23
In OpenSSL world, the SSLv23 option is a poorly name method that will negotiate what version of TLS or SSL to use. It starts with the best version the library supports and then precedes to keep trying all the way down to SSL 2.0.
This commit is contained in:
parent
d9c2213711
commit
df93e5e90b
|
|
@ -106,7 +106,8 @@ pub enum SslMethod {
|
||||||
#[cfg(feature = "sslv2")]
|
#[cfg(feature = "sslv2")]
|
||||||
/// Only support the SSLv2 protocol, requires the `sslv2` feature.
|
/// Only support the SSLv2 protocol, requires the `sslv2` feature.
|
||||||
Sslv2,
|
Sslv2,
|
||||||
/// Support the SSLv2, SSLv3 and TLSv1 protocols.
|
/// Support the SSLv2, SSLv3, TLSv1, TLSv1.1, and TLSv1.2 protocols depending on what the
|
||||||
|
/// linked OpenSSL library supports.
|
||||||
Sslv23,
|
Sslv23,
|
||||||
/// Only support the SSLv3 protocol.
|
/// Only support the SSLv3 protocol.
|
||||||
Sslv3,
|
Sslv3,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue