Skip to content

Commit

Permalink
Merge pull request #2129 from nicklaswj/add_curve_brainpoolP320r1
Browse files Browse the repository at this point in the history
Add nid constant for curve brainpoolP320r1
  • Loading branch information
sfackler authored Dec 19, 2023
2 parents 994939b + f6ed2c0 commit 5176570
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openssl-sys/src/obj_mac.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions openssl/src/nid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5176570

Please sign in to comment.