File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -94,14 +94,27 @@ pub const NID_sect409k1: c_int = 731;
94
94
pub const NID_sect409r1 : c_int = 732 ;
95
95
pub const NID_sect571k1 : c_int = 733 ;
96
96
pub const NID_sect571r1 : c_int = 734 ;
97
+
97
98
#[ cfg( ossl110) ]
98
99
pub const NID_brainpoolP256r1 : c_int = 927 ;
100
+ #[ cfg( libressl) ]
101
+ pub const NID_brainpoolP256r1 : c_int = 928 ;
102
+
99
103
#[ cfg( ossl110) ]
100
104
pub const NID_brainpoolP320r1 : c_int = 929 ;
105
+ #[ cfg( libressl) ]
106
+ pub const NID_brainpoolP320r1 : c_int = 930 ;
107
+
101
108
#[ cfg( ossl110) ]
102
109
pub const NID_brainpoolP384r1 : c_int = 931 ;
110
+ #[ cfg( libressl) ]
111
+ pub const NID_brainpoolP384r1 : c_int = 932 ;
112
+
103
113
#[ cfg( ossl110) ]
104
114
pub const NID_brainpoolP512r1 : c_int = 933 ;
115
+ #[ cfg( libressl) ]
116
+ pub const NID_brainpoolP512r1 : c_int = 934 ;
117
+
105
118
pub const NID_wap_wsg_idm_ecid_wtls1 : c_int = 735 ;
106
119
pub const NID_wap_wsg_idm_ecid_wtls3 : c_int = 736 ;
107
120
pub 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 {
215
215
pub const SECT409R1 : Nid = Nid ( ffi:: NID_sect409r1 ) ;
216
216
pub const SECT571K1 : Nid = Nid ( ffi:: NID_sect571k1 ) ;
217
217
pub const SECT571R1 : Nid = Nid ( ffi:: NID_sect571r1 ) ;
218
- #[ cfg( ossl110) ]
218
+ #[ cfg( any ( ossl110, libressl ) ) ]
219
219
pub const BRAINPOOL_P256R1 : Nid = Nid ( ffi:: NID_brainpoolP256r1 ) ;
220
- #[ cfg( ossl110) ]
220
+ #[ cfg( any ( ossl110, libressl ) ) ]
221
221
pub const BRAINPOOL_P320R1 : Nid = Nid ( ffi:: NID_brainpoolP320r1 ) ;
222
- #[ cfg( ossl110) ]
222
+ #[ cfg( any ( ossl110, libressl ) ) ]
223
223
pub const BRAINPOOL_P384R1 : Nid = Nid ( ffi:: NID_brainpoolP384r1 ) ;
224
- #[ cfg( ossl110) ]
224
+ #[ cfg( any ( ossl110, libressl ) ) ]
225
225
pub const BRAINPOOL_P512R1 : Nid = Nid ( ffi:: NID_brainpoolP512r1 ) ;
226
226
pub const WAP_WSG_IDM_ECID_WTLS1 : Nid = Nid ( ffi:: NID_wap_wsg_idm_ecid_wtls1 ) ;
227
227
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