File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ use std::ffi::CStr;
11
11
use std:: mem;
12
12
use std:: ptr;
13
13
use std:: slice;
14
- #[ cfg( ossl111) ]
14
+ #[ cfg( any ( ossl111, boringssl ) ) ]
15
15
use std:: str;
16
16
use std:: sync:: Arc ;
17
17
@@ -28,7 +28,7 @@ use crate::ssl::{
28
28
} ;
29
29
#[ cfg( ossl111) ]
30
30
use crate :: ssl:: { ClientHelloResponse , ExtensionContext } ;
31
- #[ cfg( ossl111) ]
31
+ #[ cfg( any ( ossl111, boringssl ) ) ]
32
32
use crate :: util:: ForeignTypeRefExt ;
33
33
#[ cfg( ossl111) ]
34
34
use crate :: x509:: X509Ref ;
@@ -429,7 +429,7 @@ where
429
429
}
430
430
}
431
431
432
- #[ cfg( ossl111) ]
432
+ #[ cfg( any ( ossl111, boringssl ) ) ]
433
433
pub unsafe extern "C" fn raw_keylog < F > ( ssl : * const ffi:: SSL , line : * const c_char )
434
434
where
435
435
F : Fn ( & SslRef , & str ) + ' static + Sync + Send ,
Original file line number Diff line number Diff line change @@ -1470,7 +1470,7 @@ impl SslContextBuilder {
1470
1470
///
1471
1471
/// Requires OpenSSL 1.1.1 or newer.
1472
1472
#[ corresponds( SSL_CTX_set_keylog_callback ) ]
1473
- #[ cfg( ossl111) ]
1473
+ #[ cfg( any ( ossl111, boringssl ) ) ]
1474
1474
pub fn set_keylog_callback < F > ( & mut self , callback : F )
1475
1475
where
1476
1476
F : Fn ( & SslRef , & str ) + ' static + Sync + Send ,
You can’t perform that action at this time.
0 commit comments