diff options
author | Christoph Walcher <christoph-wa@gmx.de> | 2020-10-10 14:24:08 +0200 |
---|---|---|
committer | Christoph Walcher <christoph-wa@gmx.de> | 2020-10-10 14:24:08 +0200 |
commit | 8dc699a26facc6131056c874f2a13cbad96211df (patch) | |
tree | 8c2686b3b900b5e4a24a1e71ccbc416489c5a65c /openssl-sys | |
parent | 22a2f49873bbd3f9963f42dc445940c92b530abd (diff) | |
download | rust-openssl-8dc699a26facc6131056c874f2a13cbad96211df.zip |
changes after review 1/2
Diffstat (limited to 'openssl-sys')
-rw-r--r-- | openssl-sys/src/dh.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/openssl-sys/src/dh.rs b/openssl-sys/src/dh.rs index af812d43..75200fee 100644 --- a/openssl-sys/src/dh.rs +++ b/openssl-sys/src/dh.rs @@ -25,9 +25,9 @@ extern "C" { #[cfg(ossl102)] pub fn DH_get_2048_256() -> *mut DH; - #[cfg(any(ossl110, libressl273))] + #[cfg(any(ossl110, libressl270))] pub fn DH_set0_pqg(dh: *mut DH, p: *mut BIGNUM, q: *mut BIGNUM, g: *mut BIGNUM) -> c_int; - #[cfg(any(ossl110, libressl273))] + #[cfg(any(ossl110, libressl270))] pub fn DH_get0_pqg( dh: *const DH, p: *mut *const BIGNUM, @@ -35,7 +35,6 @@ extern "C" { g: *mut *const BIGNUM, ); - #[cfg(ossl102)] + #[cfg(any(ossl110, libressl270))] pub fn DH_get0_key(dh: *const DH, pub_key: *mut *const BIGNUM, priv_key: *mut *const BIGNUM); - } |