From 83d702df2b568ec4ad32fc15bf73abdc82497218 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 22 Oct 2013 23:23:57 -0700 Subject: Remove Sslv2 option Many distributions of OpenSSL disable this method as SSLv2 has known security issues. --- lib.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib.rs') diff --git a/lib.rs b/lib.rs index 461a8b0c..4b5d4ba7 100644 --- a/lib.rs +++ b/lib.rs @@ -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() -- cgit v1.2.3