Skip to content

Commit

Permalink
Merge pull request #2061 from botovq/ec2m-ignore
Browse files Browse the repository at this point in the history
Don't ignore ECDSA tests without GF2m support
  • Loading branch information
alex committed Oct 20, 2023
2 parents 753811d + ac2640d commit ca8fc70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openssl/src/ecdsa.rs
Expand Up @@ -158,7 +158,7 @@ mod test {
}

#[test]
#[cfg_attr(osslconf = "OPENSSL_NO_EC2M", ignore)]
#[cfg_attr(osslconf = "OPENSSL_NO_EC", ignore)]
fn sign_and_verify() {
let group = EcGroup::from_curve_name(Nid::X9_62_PRIME256V1).unwrap();
let private_key = EcKey::generate(&group).unwrap();
Expand Down Expand Up @@ -186,7 +186,7 @@ mod test {
}

#[test]
#[cfg_attr(osslconf = "OPENSSL_NO_EC2M", ignore)]
#[cfg_attr(osslconf = "OPENSSL_NO_EC", ignore)]
fn check_private_components() {
let group = EcGroup::from_curve_name(Nid::X9_62_PRIME256V1).unwrap();
let private_key = EcKey::generate(&group).unwrap();
Expand All @@ -206,7 +206,7 @@ mod test {
}

#[test]
#[cfg_attr(osslconf = "OPENSSL_NO_EC2M", ignore)]
#[cfg_attr(osslconf = "OPENSSL_NO_EC", ignore)]
fn serialize_deserialize() {
let group = EcGroup::from_curve_name(Nid::X9_62_PRIME256V1).unwrap();
let private_key = EcKey::generate(&group).unwrap();
Expand Down

0 comments on commit ca8fc70

Please sign in to comment.