summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-05-13 10:50:14 +0200
committerTomas Mraz <tomas@openssl.org>2021-05-13 10:50:59 +0200
commit8f3683cda197cd3df1005dc058a2d57be0b6cc5a (patch)
treee64e32e2f4ecf7ca6ad58ee0eff7c2bc85354528 /Configurations
parent91a05d65908c2ee21920d0effbda58b8536c2768 (diff)
Remove the .new suffix inside the fips.checksum.new
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15263)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/unix-Makefile.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 9dcc0b0342..3f78d6d5de 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -1264,7 +1264,7 @@ tags TAGS: FORCE
-ctags -R .
-etags `find . -name '*.[ch]' -o -name '*.pm'`
-fips-checksums: generate_fips_sources
+providers/fips.checksum.new: generate_fips_sources
@which unifdef > /dev/null || \
( echo >&2 "ERROR: unifdef not in your \$$PATH, FIPS checksums not calculated"; \
false )
@@ -1274,7 +1274,9 @@ fips-checksums: generate_fips_sources
| xargs ./util/fips-checksums.sh ) \
> providers/fips-sources.checksums.new \
&& sha256sum providers/fips-sources.checksums.new \
- > providers/fips.checksum.new
+ | sed -e 's|\.new||' > providers/fips.checksum.new
+
+fips-checksums: providers/fips.checksum.new
$(SRCDIR)/providers/fips.checksum: providers/fips.checksum.new
cp -p providers/fips.module.sources.new $(SRCDIR)/providers/fips.module.sources