]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - test/recipes/15-test_genec.t
Add Explicit EC parameter support to providers.
[thirdparty/openssl.git] / test / recipes / 15-test_genec.t
index 20ddd4026d7f8a94d7a939dd7526ae99d6b0e08d..2dfed387ca061e7b139b2994ff4d26e23bb8afad 100644 (file)
@@ -29,30 +29,12 @@ sub supported_pass {
     ok(run(@_), $str);
 }
 
-sub unsupported_pass {
-    my $str = shift;
- TODO: {
-        local $TODO = "Currently not supported";
-
-        ok(run(@_), $str);
-    }
-}
-
 sub supported_fail {
     my $str = shift;
 
     ok(!run(@_), $str);
 }
 
-sub unsupported_fail {
-    my $str = shift;
- TODO: {
-        local $TODO = "Currently not supported";
-
-        ok(!run(@_), $str);
-    }
-}
-
 setup("test_genec");
 
 plan skip_all => "This test is unsupported in a no-ec build"
@@ -183,7 +165,7 @@ push(@curve_list, @curve_aliases);
 my %params_encodings =
     (
      'named_curve'      => \&supported_pass,
-     'explicit'         => \&unsupported_pass
+     'explicit'         => \&supported_pass
     );
 
 my @output_formats = ('PEM', 'DER');
@@ -273,7 +255,7 @@ subtest "test curves that only support explicit parameters encoding" => sub {
     my %params_encodings =
         (
          'named_curve'      => \&supported_fail,
-         'explicit'         => \&unsupported_pass
+         'explicit'         => \&supported_pass
         );
 
     foreach my $curvename (@explicit_only_curves) {