diff options
| author | Steven Fackler <[email protected]> | 2013-10-22 23:23:57 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2013-10-22 23:23:57 -0700 |
| commit | 83d702df2b568ec4ad32fc15bf73abdc82497218 (patch) | |
| tree | c63abfed390a62741515a378111300094cc9ad64 /lib.rs | |
| parent | Travis CI infrastructure (diff) | |
| download | rust-openssl-83d702df2b568ec4ad32fc15bf73abdc82497218.tar.xz rust-openssl-83d702df2b568ec4ad32fc15bf73abdc82497218.zip | |
Remove Sslv2 option
Many distributions of OpenSSL disable this method as SSLv2 has known
security issues.
Diffstat (limited to 'lib.rs')
| -rw-r--r-- | lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -41,7 +41,6 @@ pub fn init() { } pub enum SslMethod { - Sslv2, Sslv3, Tlsv1, Sslv23 @@ -50,7 +49,6 @@ pub enum SslMethod { impl SslMethod { unsafe fn to_raw(&self) -> *ffi::SSL_METHOD { match *self { - Sslv2 => ffi::SSLv2_method(), Sslv3 => ffi::SSLv3_method(), Tlsv1 => ffi::TLSv1_method(), Sslv23 => ffi::SSLv23_method() |