File tree 3 files changed +5
-0
lines changed
openssl-sys/src/handwritten 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ const_ptr_api! {
84
84
}
85
85
86
86
extern "C" {
87
+ #[ cfg( not( libressl390) ) ]
87
88
pub fn X509V3_EXT_add_alias ( nid_to : c_int , nid_from : c_int ) -> c_int ;
88
89
pub fn X509V3_EXT_d2i ( ext : * mut X509_EXTENSION ) -> * mut c_void ;
89
90
pub fn X509V3_EXT_i2d ( ext_nid : c_int , crit : c_int , ext : * mut c_void ) -> * mut X509_EXTENSION ;
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ fn main() {
72
72
if version >= 0x3_08_02_00_0 {
73
73
println ! ( "cargo:rustc-cfg=libressl382" ) ;
74
74
}
75
+ if version >= 0x3_09_00_00_0 {
76
+ println ! ( "cargo:rustc-cfg=libressl390" ) ;
77
+ }
75
78
}
76
79
77
80
if let Ok ( vars) = env:: var ( "DEP_OPENSSL_CONF" ) {
Original file line number Diff line number Diff line change @@ -1018,6 +1018,7 @@ impl X509Extension {
1018
1018
/// # Safety
1019
1019
///
1020
1020
/// This method modifies global state without locking and therefore is not thread safe
1021
+ #[ cfg( not( libressl390) ) ]
1021
1022
#[ corresponds( X509V3_EXT_add_alias ) ]
1022
1023
#[ deprecated(
1023
1024
note = "Use x509::extension types or new_from_der and then this is not necessary" ,
You can’t perform that action at this time.
0 commit comments