aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/lib.rs
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2018-06-09 21:33:35 -0700
committerSteven Fackler <[email protected]>2018-06-09 21:49:36 -0700
commit115cb730b0ec9a2010d7a803586a7fcce214cb83 (patch)
treea9559c3a76b3b8e1ce43f065eb571eb48e742d0e /openssl-sys/src/lib.rs
parentMerge pull request #936 from sfackler/windows-static (diff)
downloadrust-openssl-115cb730b0ec9a2010d7a803586a7fcce214cb83.tar.xz
rust-openssl-115cb730b0ec9a2010d7a803586a7fcce214cb83.zip
Switch to accessors in libressl where possible
Some accessors are mysteriously still macros so we can't make everything opaque yet, unfortunately. cc #909
Diffstat (limited to 'openssl-sys/src/lib.rs')
-rw-r--r--openssl-sys/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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;