diff options
| author | John Downey <[email protected]> | 2015-10-02 16:13:22 -0500 |
|---|---|---|
| committer | John Downey <[email protected]> | 2015-10-02 16:22:11 -0500 |
| commit | df93e5e90bfb4f39c9583ac2e2e83a832afaf1c1 (patch) | |
| tree | 1381a3c1a4d035591c58e7b814d3828b1099b407 /openssl/src/ssl | |
| parent | Merge pull request #263 from jedisct1/ecdh_auto (diff) | |
| download | rust-openssl-df93e5e90bfb4f39c9583ac2e2e83a832afaf1c1.tar.xz rust-openssl-df93e5e90bfb4f39c9583ac2e2e83a832afaf1c1.zip | |
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.
Diffstat (limited to 'openssl/src/ssl')
| -rw-r--r-- | openssl/src/ssl/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index a0553b44..360f3f3e 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -106,7 +106,8 @@ pub enum SslMethod { #[cfg(feature = "sslv2")] /// Only support the SSLv2 protocol, requires the `sslv2` feature. 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, /// Only support the SSLv3 protocol. Sslv3, |