projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update some nits around the FIPS module
[openssl.git]
/
test
/
recipes
/
30-test_evp.t
diff --git
a/test/recipes/30-test_evp.t
b/test/recipes/30-test_evp.t
index 5567cafb3e477241e25af666d536220b92e721b3..88eb41e1c175d13b0bf7728c0481b20f05420213 100644
(file)
--- a/
test/recipes/30-test_evp.t
+++ b/
test/recipes/30-test_evp.t
@@
-1,5
+1,5
@@
#! /usr/bin/env perl
#! /usr/bin/env perl
-# Copyright 2015-20
18
The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 2015-20
20
The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
@@
-31,9
+31,9
@@
my @configs = ( $defaultcnf );
# Only add the FIPS config if the FIPS module has been built
push @configs, 'fips.cnf' unless $no_fips;
# Only add the FIPS config if the FIPS module has been built
push @configs, 'fips.cnf' unless $no_fips;
-my @files = qw( evpciph.txt evpdigest.txt );
+my @files = qw( evpciph.txt evpdigest.txt
evppkey.txt evppkey_ecc.txt
);
my @defltfiles = qw( evpencod.txt evpkdf.txt evppkey_kdf.txt evpmac.txt
my @defltfiles = qw( evpencod.txt evpkdf.txt evppkey_kdf.txt evpmac.txt
- evppbe.txt evp
pkey.txt evppkey_ecc.txt evp
case.txt evpccmcavs.txt );
+ evppbe.txt evpcase.txt evpccmcavs.txt );
my @ideafiles = qw( evpciph_idea.txt );
push @defltfiles, @ideafiles unless disabled("idea");
my @ideafiles = qw( evpciph_idea.txt );
push @defltfiles, @ideafiles unless disabled("idea");
@@
-67,11
+67,11
@@
push @defltfiles, @chachafiles unless disabled("chacha");
my @bffiles = qw( evpciph_bf.txt );
push @defltfiles, @bffiles unless disabled("bf");
my @bffiles = qw( evpciph_bf.txt );
push @defltfiles, @bffiles unless disabled("bf");
-my @
bf
files = qw( evpmd_md2.txt );
-push @defltfiles, @
bf
files unless disabled("md2");
+my @
md2
files = qw( evpmd_md2.txt );
+push @defltfiles, @
md2
files unless disabled("md2");
-my @
bf
files = qw( evpmd_mdc2.txt );
-push @defltfiles, @
bf
files unless disabled("mdc2");
+my @
mdc2
files = qw( evpmd_mdc2.txt );
+push @defltfiles, @
mdc2
files unless disabled("mdc2");
plan tests =>
($no_fips ? 0 : 1) # FIPS install test
plan tests =>
($no_fips ? 0 : 1) # FIPS install test
@@
-84,7
+84,7
@@
unless ($no_fips) {
$ENV{OPENSSL_CONF_INCLUDE} = bldtop_dir("providers");
ok(run(app(['openssl', 'fipsinstall',
$ENV{OPENSSL_CONF_INCLUDE} = bldtop_dir("providers");
ok(run(app(['openssl', 'fipsinstall',
- '-out', bldtop_file('providers', 'fips
install.co
nf'),
+ '-out', bldtop_file('providers', 'fips
module.c
nf'),
'-module', $infile,
'-provider_name', 'fips', '-mac_name', 'HMAC',
'-macopt', 'digest:SHA256', '-macopt', 'hexkey:00',
'-module', $infile,
'-provider_name', 'fips', '-mac_name', 'HMAC',
'-macopt', 'digest:SHA256', '-macopt', 'hexkey:00',