File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ fn main() {
31
31
println ! ( "cargo:rustc-check-cfg=cfg(libressl380)" ) ;
32
32
println ! ( "cargo:rustc-check-cfg=cfg(libressl382)" ) ;
33
33
println ! ( "cargo:rustc-check-cfg=cfg(libressl390)" ) ;
34
+ println ! ( "cargo:rustc-check-cfg=cfg(libressl400)" ) ;
34
35
35
36
println ! ( "cargo:rustc-check-cfg=cfg(ossl101)" ) ;
36
37
println ! ( "cargo:rustc-check-cfg=cfg(ossl102)" ) ;
@@ -112,6 +113,9 @@ fn main() {
112
113
if version >= 0x3_09_00_00_0 {
113
114
println ! ( "cargo:rustc-cfg=libressl390" ) ;
114
115
}
116
+ if version >= 0x4_00_00_00_0 {
117
+ println ! ( "cargo:rustc-cfg=libressl400" ) ;
118
+ }
115
119
}
116
120
117
121
if let Ok ( vars) = env:: var ( "DEP_OPENSSL_CONF" ) {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ foreign_type_and_impl_send_sync! {
8
8
pub struct ConfRef ;
9
9
}
10
10
11
- #[ cfg( not( boringssl) ) ]
11
+ #[ cfg( not( any ( boringssl, libressl400 ) ) ) ]
12
12
mod methods {
13
13
use super :: Conf ;
14
14
use crate :: cvt_p;
@@ -61,5 +61,5 @@ mod methods {
61
61
}
62
62
}
63
63
}
64
- #[ cfg( not( boringssl) ) ]
64
+ #[ cfg( not( any ( boringssl, libressl400 ) ) ) ]
65
65
pub use methods:: * ;
You can’t perform that action at this time.
0 commit comments