summaryrefslogtreecommitdiffstats
path: root/c6x/do_fips
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-11-25 11:52:06 +0100
committerDr. Stephen Henson <steve@openssl.org>2017-08-30 21:22:30 +0100
commit781280094ad389e8958631b97e70f498becbd9cb (patch)
tree5efee5369d3a0e911a933dad70d38c28dc19e76d /c6x/do_fips
parent5526e5791f1426553b6f4806d1ac82efd6ab33bc (diff)
c6x/* "facelift":OpenSSL-fips-2_0-dev
- make scripts executable; - "parameterize" platform selection in c6x/do_fips; - add c6x/fips_algvs.mak; - add c6x/run6x.js launcher for more recent CCS versions; Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Stephen Henson <steve@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4265)
Diffstat (limited to 'c6x/do_fips')
-rwxr-xr-x[-rw-r--r--]c6x/do_fips7
1 files changed, 6 insertions, 1 deletions
diff --git a/c6x/do_fips b/c6x/do_fips
index c1c29fcf83..4045e605ce 100644..100755
--- a/c6x/do_fips
+++ b/c6x/do_fips
@@ -1,6 +1,11 @@
#!/bin/sh
-perl Configure c64xplus fipscanisteronly no-engine
+if ! which cl6x > /dev/null 2>&1; then
+ echo 'fatal: cl6x is not on $PATH'
+ exit 1
+fi
+
+perl Configure ${C6XPLATFORM:-c64xplus} fipscanisteronly no-engine
perl util/mkfiles.pl > MINFO
perl util/mk1mf.pl auto > c6x/fips.mak
make -f c6x/fips.mak