Skip to content

Commit f6ed2c0

Browse files
author
Nicklas Warming Jacobsen
committed
Add nid for curve brainpoolP320r1
1 parent 994939b commit f6ed2c0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

openssl-sys/src/obj_mac.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ pub const NID_sect571r1: c_int = 734;
9797
#[cfg(ossl110)]
9898
pub const NID_brainpoolP256r1: c_int = 927;
9999
#[cfg(ossl110)]
100+
pub const NID_brainpoolP320r1: c_int = 929;
101+
#[cfg(ossl110)]
100102
pub const NID_brainpoolP384r1: c_int = 931;
101103
#[cfg(ossl110)]
102104
pub const NID_brainpoolP512r1: c_int = 933;

openssl/src/nid.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ impl Nid {
218218
#[cfg(ossl110)]
219219
pub const BRAINPOOL_P256R1: Nid = Nid(ffi::NID_brainpoolP256r1);
220220
#[cfg(ossl110)]
221+
pub const BRAINPOOL_P320R1: Nid = Nid(ffi::NID_brainpoolP320r1);
222+
#[cfg(ossl110)]
221223
pub const BRAINPOOL_P384R1: Nid = Nid(ffi::NID_brainpoolP384r1);
222224
#[cfg(ossl110)]
223225
pub const BRAINPOOL_P512R1: Nid = Nid(ffi::NID_brainpoolP512r1);

0 commit comments

Comments
 (0)