summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-17 19:03:52 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-17 19:03:52 +0000
commit5d439d69552e753debc48461293517b66b0b94b4 (patch)
treec7c1a7e83ef6d69c0ed69a8776fc4a11bd199b8f /util
parent38bae7baa5beec3a1bd4cb32b1d0fa3410b2d780 (diff)
Make -DOPENSSL_FIPSSYMS work for assembly language builds.
Diffstat (limited to 'util')
-rw-r--r--util/fipsas.pl13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/fipsas.pl b/util/fipsas.pl
index cd8b8c02f4..c6964e19cf 100644
--- a/util/fipsas.pl
+++ b/util/fipsas.pl
@@ -9,6 +9,19 @@ my @ARGS = @ARGV;
my $top = shift @ARGS;
my $target = shift @ARGS;
+# HACK to disable operation if no OPENSSL_FIPSSYMS option.
+# will go away when tested more fully.
+
+my $enabled = 0;
+
+foreach (@ARGS) { $enabled = 1 if /-DOPENSSL_FIPSSYMS/ ; }
+
+if ($enabled == 0)
+ {
+ system @ARGS;
+ exit $?
+ }
+
# Open symbol rename file.
open(IN, "$top/fips/fipssyms.h") || die "Can't open fipssyms.h";