commit
bfba91296c
|
|
@ -588,7 +588,7 @@ impl SslContext {
|
||||||
/// If `onoff` is set to `true`, enable ECDHE for key exchange with compatible
|
/// If `onoff` is set to `true`, enable ECDHE for key exchange with compatible
|
||||||
/// clients, and automatically select an appropriate elliptic curve.
|
/// clients, and automatically select an appropriate elliptic curve.
|
||||||
///
|
///
|
||||||
/// This method requires OpenSSL >= 1.2.0 or LibreSSL and the `ecdh_auto` feature.
|
/// This method requires OpenSSL >= 1.0.2 or LibreSSL and the `ecdh_auto` feature.
|
||||||
#[cfg(feature = "ecdh_auto")]
|
#[cfg(feature = "ecdh_auto")]
|
||||||
pub fn set_ecdh_auto(&mut self, onoff: bool) -> Result<(),SslError> {
|
pub fn set_ecdh_auto(&mut self, onoff: bool) -> Result<(),SslError> {
|
||||||
wrap_ssl_result(
|
wrap_ssl_result(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue