diff options
| author | Steven Fackler <[email protected]> | 2016-10-14 20:20:05 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-10-14 20:20:05 -0700 |
| commit | 3ea2a9cb5f2599b5c2147a2bde7488cc087081bc (patch) | |
| tree | 6103a6dc033fac707b061831599b7ee41a89bdc4 /openssl-sys/src | |
| parent | Merge pull request #469 from sfackler/hostname (diff) | |
| parent | Respect osslconf in systest (diff) | |
| download | rust-openssl-3ea2a9cb5f2599b5c2147a2bde7488cc087081bc.tar.xz rust-openssl-3ea2a9cb5f2599b5c2147a2bde7488cc087081bc.zip | |
Merge pull request #470 from sfackler/confs
Support OpenSSL conditional compilation
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/ossl10x.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/ossl10x.rs b/openssl-sys/src/ossl10x.rs index 86451a0c..16d669b0 100644 --- a/openssl-sys/src/ossl10x.rs +++ b/openssl-sys/src/ossl10x.rs @@ -549,6 +549,7 @@ extern { pub fn OPENSSL_add_all_algorithms_noconf(); pub fn HMAC_CTX_init(ctx: *mut ::HMAC_CTX); pub fn HMAC_CTX_cleanup(ctx: *mut ::HMAC_CTX); + #[cfg(not(osslconf = "OPENSSL_NO_SSL3_METHOD"))] pub fn SSLv3_method() -> *const ::SSL_METHOD; pub fn TLSv1_method() -> *const ::SSL_METHOD; pub fn SSLv23_method() -> *const ::SSL_METHOD; |