Skip to content

Commit

Permalink
allow affine_coordinates on boring and libre
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk committed Jun 5, 2023
1 parent 64b3106 commit 5759836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openssl/src/ec.rs
Expand Up @@ -491,7 +491,7 @@ impl EcPointRef {
/// Places affine coordinates of a curve over a prime field in the provided
/// `x` and `y` `BigNum`s.
#[corresponds(EC_POINT_get_affine_coordinates)]
#[cfg(ossl111)]
#[cfg(any(ossl111, boringssl, libressl))]
pub fn affine_coordinates(
&self,
group: &EcGroupRef,
Expand Down Expand Up @@ -1197,7 +1197,7 @@ mod test {
assert!(ec_key.check_key().is_ok());
}

#[cfg(ossl111)]
#[cfg(any(ossl111, boringssl, libressl))]
#[test]
fn get_affine_coordinates() {
let group = EcGroup::from_curve_name(Nid::X9_62_PRIME256V1).unwrap();
Expand Down

0 comments on commit 5759836

Please sign in to comment.