diff --git a/openssl-sys/src/obj_mac.rs b/openssl-sys/src/obj_mac.rs index 2c4b6aaeb9..b207da79d0 100644 --- a/openssl-sys/src/obj_mac.rs +++ b/openssl-sys/src/obj_mac.rs @@ -97,6 +97,8 @@ pub const NID_sect571r1: c_int = 734; #[cfg(ossl110)] pub const NID_brainpoolP256r1: c_int = 927; #[cfg(ossl110)] +pub const NID_brainpoolP320r1: c_int = 929; +#[cfg(ossl110)] pub const NID_brainpoolP384r1: c_int = 931; #[cfg(ossl110)] pub const NID_brainpoolP512r1: c_int = 933; diff --git a/openssl/src/nid.rs b/openssl/src/nid.rs index a5bd93ca42..a1f3b1e635 100644 --- a/openssl/src/nid.rs +++ b/openssl/src/nid.rs @@ -218,6 +218,8 @@ impl Nid { #[cfg(ossl110)] pub const BRAINPOOL_P256R1: Nid = Nid(ffi::NID_brainpoolP256r1); #[cfg(ossl110)] + pub const BRAINPOOL_P320R1: Nid = Nid(ffi::NID_brainpoolP320r1); + #[cfg(ossl110)] pub const BRAINPOOL_P384R1: Nid = Nid(ffi::NID_brainpoolP384r1); #[cfg(ossl110)] pub const BRAINPOOL_P512R1: Nid = Nid(ffi::NID_brainpoolP512r1);