# Same as above but with base provider used for decoding
SKIP: {
my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
- skip "EC is not supported or FIPS is disabled", 3
- if disabled("ec") || $no_fips;
-
my $provconf = srctop_file("test", "fips-and-base.cnf");
my $provpath = bldtop_dir("providers");
my @prov = ("-provider-path", $provpath);
+
+ skip "EC is not supported or FIPS is disabled", 3
+ if disabled("ec") || $no_fips;
+
+ run(test(["fips_version_test", "-config", $provconf, ">3.0.0"]),
+ capture => 1, statusvar => \my $exit);
+ skip "FIPS provider version is too old", 3
+ if !$exit;
+
$ENV{OPENSSL_CONF} = $provconf;
ok(!verify("ee-cert-ec-explicit", "", ["root-cert"],