Remove kx-safe-default gate on SslCurve
While setting curves should be restricted by the kx-safe-default feature, reading the curve is allowed.
This commit is contained in:
parent
b96d2b88a4
commit
167f5aece1
|
|
@ -670,12 +670,10 @@ impl SslSignatureAlgorithm {
|
|||
}
|
||||
|
||||
/// A TLS Curve.
|
||||
#[cfg(not(feature = "kx-safe-default"))]
|
||||
#[repr(transparent)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub struct SslCurve(c_int);
|
||||
|
||||
#[cfg(not(feature = "kx-safe-default"))]
|
||||
impl SslCurve {
|
||||
pub const SECP224R1: SslCurve = SslCurve(ffi::NID_secp224r1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue