@@ -76,11 +76,11 @@ pub const X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM: c_int = 59;
76
76
pub const X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED : c_int = 60 ;
77
77
#[ cfg( ossl102) ]
78
78
pub const X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256 : c_int = 61 ;
79
- #[ cfg( ossl102) ]
79
+ #[ cfg( any ( ossl102, libressl251 ) ) ]
80
80
pub const X509_V_ERR_HOSTNAME_MISMATCH : c_int = 62 ;
81
- #[ cfg( ossl102) ]
81
+ #[ cfg( any ( ossl102, libressl251 ) ) ]
82
82
pub const X509_V_ERR_EMAIL_MISMATCH : c_int = 63 ;
83
- #[ cfg( ossl102) ]
83
+ #[ cfg( any ( ossl102, libressl251 ) ) ]
84
84
pub const X509_V_ERR_IP_ADDRESS_MISMATCH : c_int = 64 ;
85
85
cfg_if ! {
86
86
if #[ cfg( ossl110) ] {
@@ -118,19 +118,19 @@ pub const X509_V_FLAG_NOTIFY_POLICY: c_ulong = 0x800;
118
118
pub const X509_V_FLAG_EXTENDED_CRL_SUPPORT : c_ulong = 0x1000 ;
119
119
pub const X509_V_FLAG_USE_DELTAS : c_ulong = 0x2000 ;
120
120
pub const X509_V_FLAG_CHECK_SS_SIGNATURE : c_ulong = 0x4000 ;
121
- #[ cfg( ossl102) ]
121
+ #[ cfg( any ( ossl102, libressl251 ) ) ]
122
122
pub const X509_V_FLAG_TRUSTED_FIRST : c_ulong = 0x8000 ;
123
123
#[ cfg( ossl102) ]
124
124
pub const X509_V_FLAG_SUITEB_128_LOS_ONLY : c_ulong = 0x10000 ;
125
125
#[ cfg( ossl102) ]
126
126
pub const X509_V_FLAG_SUITEB_192_LOS : c_ulong = 0x20000 ;
127
127
#[ cfg( ossl102) ]
128
128
pub const X509_V_FLAG_SUITEB_128_LOS : c_ulong = 0x30000 ;
129
- #[ cfg( ossl102) ]
129
+ #[ cfg( any ( ossl102, libressl251 ) ) ]
130
130
pub const X509_V_FLAG_PARTIAL_CHAIN : c_ulong = 0x80000 ;
131
- #[ cfg( ossl110) ]
131
+ #[ cfg( any ( ossl110, libressl251 ) ) ]
132
132
pub const X509_V_FLAG_NO_ALT_CHAINS : c_ulong = 0x100000 ;
133
- #[ cfg( ossl110) ]
133
+ #[ cfg( any ( ossl110, libressl251 ) ) ]
134
134
pub const X509_V_FLAG_NO_CHECK_TIME : c_ulong = 0x200000 ;
135
135
136
136
pub unsafe fn X509_LOOKUP_add_dir (
0 commit comments