summaryrefslogtreecommitdiff
path: root/ssl/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/ffi.rs')
-rw-r--r--ssl/ffi.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ffi.rs b/ssl/ffi.rs
index 0be09371..53a3b4f8 100644
--- a/ssl/ffi.rs
+++ b/ssl/ffi.rs
@@ -111,6 +111,8 @@ extern "C" {
pub fn SSL_library_init() -> c_int;
+ #[cfg(sslv2)]
+ pub fn SSLv2_method() -> *SSL_METHOD;
pub fn SSLv3_method() -> *SSL_METHOD;
pub fn TLSv1_method() -> *SSL_METHOD;
pub fn SSLv23_method() -> *SSL_METHOD;