diff options
| author | Steven Fackler <[email protected]> | 2018-02-13 22:28:01 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2018-02-13 22:31:37 -0800 |
| commit | 276577553501164c183ebffa2accf87380dac8c0 (patch) | |
| tree | 69edc8033241a039298c2cb04a28a24912d86a5b /openssl/src/dh.rs | |
| parent | Merge pull request #838 from olehermanse/master (diff) | |
| download | rust-openssl-276577553501164c183ebffa2accf87380dac8c0.tar.xz rust-openssl-276577553501164c183ebffa2accf87380dac8c0.zip | |
OpenSSL 1.1.1 support
Diffstat (limited to 'openssl/src/dh.rs')
| -rw-r--r-- | openssl/src/dh.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl/src/dh.rs b/openssl/src/dh.rs index bd0ecd17..7dcb3390 100644 --- a/openssl/src/dh.rs +++ b/openssl/src/dh.rs @@ -83,7 +83,7 @@ impl Dh<Params> { ffi::d2i_DHparams } - /// Requires the `v102` or `v110` features and OpenSSL 1.0.2 or OpenSSL 1.1.0. + /// Requires OpenSSL 1.0.2, 1.1.0, or 1.1.1 and the corresponding Cargo feature. #[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110)))] pub fn get_1024_160() -> Result<Dh<Params>, ErrorStack> { unsafe { @@ -92,7 +92,7 @@ impl Dh<Params> { } } - /// Requires the `v102` or `v110` features and OpenSSL 1.0.2 or OpenSSL 1.1.0. + /// Requires OpenSSL 1.0.2, 1.1.0, or 1.1.1 and the corresponding Cargo feature. #[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110)))] pub fn get_2048_224() -> Result<Dh<Params>, ErrorStack> { unsafe { @@ -101,7 +101,7 @@ impl Dh<Params> { } } - /// Requires the `v102` or `v110` features and OpenSSL 1.0.2 or OpenSSL 1.1.0. + /// Requires OpenSSL 1.0.2, 1.1.0, or 1.1.1 and the corresponding Cargo feature. #[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110)))] pub fn get_2048_256() -> Result<Dh<Params>, ErrorStack> { unsafe { |