From 115cb730b0ec9a2010d7a803586a7fcce214cb83 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 9 Jun 2018 21:33:35 -0700 Subject: Switch to accessors in libressl where possible Some accessors are mysteriously still macros so we can't make everything opaque yet, unfortunately. cc #909 --- openssl-sys/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openssl-sys/src/lib.rs') diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index aaeb9713..c70d6a26 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2616,7 +2616,7 @@ extern "C" { pub fn SSL_set_session(ssl: *mut SSL, session: *mut SSL_SESSION) -> c_int; #[cfg(all(ossl102, not(ossl110f)))] pub fn SSL_is_server(s: *mut SSL) -> c_int; - #[cfg(ossl110f)] + #[cfg(any(ossl110f, libressl273))] pub fn SSL_is_server(s: *const SSL) -> c_int; pub fn SSL_get_finished(s: *const SSL, buf: *mut c_void, count: size_t) -> size_t; pub fn SSL_get_peer_finished(s: *const SSL, buf: *mut c_void, count: size_t) -> size_t; -- cgit v1.2.3