From b5cee977c2ae0c0bec73dcdacab4b8a4228a34e4 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 19 Sep 2010 11:30:14 +0000 Subject: [PATCH] update FIPS script generator to make output easier to hand edit --- fips/mkfipsscr.pl | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/fips/mkfipsscr.pl b/fips/mkfipsscr.pl index dc60cdf580..3c30130022 100644 --- a/fips/mkfipsscr.pl +++ b/fips/mkfipsscr.pl @@ -297,6 +297,7 @@ my $filter = ""; my $tvdir; my $tprefix; my $shwrap_prefix; +my $shwrap; my $debug = 0; my $quiet = 0; my $rspdir = "rsp"; @@ -331,6 +332,10 @@ foreach (@ARGV) { $rspdir = $1; } + elsif (/--noshwrap$/) + { + $shwrap = ""; + } elsif (/--rspignore$/) { $rspignore = 1; @@ -396,6 +401,8 @@ else $shwrap_prefix = "../util/" unless defined $shwrap_prefix; } + $shwrap = "${shwrap_prefix}shlib_wrap.sh " unless defined $shwrap; + $bufinit .= < "$rsp" || { echo "$req failure" ; exit 1; } +${shwrap}\${TPREFIX}$tcmd < "$req" > "$rsp" || { echo "$req failure" ; exit 1; } END $_programs{"$tprefix$tcmd"} = 1; } -- 2.25.1