File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
openssl-sys/src/handwritten Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ extern "C" {
101
101
102
102
pub fn EC_POINT_dup ( p : * const EC_POINT , group : * const EC_GROUP ) -> * mut EC_POINT ;
103
103
104
- #[ cfg( ossl111) ]
104
+ #[ cfg( any ( ossl111, boringssl , libressl350 ) ) ]
105
105
pub fn EC_POINT_get_affine_coordinates (
106
106
group : * const EC_GROUP ,
107
107
p : * const EC_POINT ,
Original file line number Diff line number Diff line change @@ -491,7 +491,7 @@ impl EcPointRef {
491
491
/// Places affine coordinates of a curve over a prime field in the provided
492
492
/// `x` and `y` `BigNum`s.
493
493
#[ corresponds( EC_POINT_get_affine_coordinates ) ]
494
- #[ cfg( ossl111) ]
494
+ #[ cfg( any ( ossl111, boringssl , libressl350 ) ) ]
495
495
pub fn affine_coordinates (
496
496
& self ,
497
497
group : & EcGroupRef ,
@@ -1197,7 +1197,7 @@ mod test {
1197
1197
assert ! ( ec_key. check_key( ) . is_ok( ) ) ;
1198
1198
}
1199
1199
1200
- #[ cfg( ossl111) ]
1200
+ #[ cfg( any ( ossl111, boringssl , libressl350 ) ) ]
1201
1201
#[ test]
1202
1202
fn get_affine_coordinates ( ) {
1203
1203
let group = EcGroup :: from_curve_name ( Nid :: X9_62_PRIME256V1 ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments