File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,14 +94,27 @@ pub const NID_sect409k1: c_int = 731;
9494pub const NID_sect409r1 : c_int = 732 ;
9595pub const NID_sect571k1 : c_int = 733 ;
9696pub const NID_sect571r1 : c_int = 734 ;
97+
9798#[ cfg( ossl110) ]
9899pub const NID_brainpoolP256r1 : c_int = 927 ;
100+ #[ cfg( libressl) ]
101+ pub const NID_brainpoolP256r1 : c_int = 928 ;
102+
99103#[ cfg( ossl110) ]
100104pub const NID_brainpoolP320r1 : c_int = 929 ;
105+ #[ cfg( libressl) ]
106+ pub const NID_brainpoolP320r1 : c_int = 930 ;
107+
101108#[ cfg( ossl110) ]
102109pub const NID_brainpoolP384r1 : c_int = 931 ;
110+ #[ cfg( libressl) ]
111+ pub const NID_brainpoolP384r1 : c_int = 932 ;
112+
103113#[ cfg( ossl110) ]
104114pub const NID_brainpoolP512r1 : c_int = 933 ;
115+ #[ cfg( libressl) ]
116+ pub const NID_brainpoolP512r1 : c_int = 934 ;
117+
105118pub const NID_wap_wsg_idm_ecid_wtls1 : c_int = 735 ;
106119pub const NID_wap_wsg_idm_ecid_wtls3 : c_int = 736 ;
107120pub const NID_wap_wsg_idm_ecid_wtls4 : c_int = 737 ;
Original file line number Diff line number Diff line change @@ -215,13 +215,13 @@ impl Nid {
215215 pub const SECT409R1 : Nid = Nid ( ffi:: NID_sect409r1 ) ;
216216 pub const SECT571K1 : Nid = Nid ( ffi:: NID_sect571k1 ) ;
217217 pub const SECT571R1 : Nid = Nid ( ffi:: NID_sect571r1 ) ;
218- #[ cfg( ossl110) ]
218+ #[ cfg( any ( ossl110, libressl ) ) ]
219219 pub const BRAINPOOL_P256R1 : Nid = Nid ( ffi:: NID_brainpoolP256r1 ) ;
220- #[ cfg( ossl110) ]
220+ #[ cfg( any ( ossl110, libressl ) ) ]
221221 pub const BRAINPOOL_P320R1 : Nid = Nid ( ffi:: NID_brainpoolP320r1 ) ;
222- #[ cfg( ossl110) ]
222+ #[ cfg( any ( ossl110, libressl ) ) ]
223223 pub const BRAINPOOL_P384R1 : Nid = Nid ( ffi:: NID_brainpoolP384r1 ) ;
224- #[ cfg( ossl110) ]
224+ #[ cfg( any ( ossl110, libressl ) ) ]
225225 pub const BRAINPOOL_P512R1 : Nid = Nid ( ffi:: NID_brainpoolP512r1 ) ;
226226 pub const WAP_WSG_IDM_ECID_WTLS1 : Nid = Nid ( ffi:: NID_wap_wsg_idm_ecid_wtls1 ) ;
227227 pub const WAP_WSG_IDM_ECID_WTLS3 : Nid = Nid ( ffi:: NID_wap_wsg_idm_ecid_wtls3 ) ;
You can’t perform that action at this time.
0 commit comments