From: Dr. Stephen Henson Date: Sun, 19 Sep 2010 11:30:14 +0000 (+0000) Subject: update FIPS script generator to make output easier to hand edit X-Git-Tag: OpenSSL_0_9_8p~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b5cee977c2ae0c0bec73dcdacab4b8a4228a34e4;p=oweals%2Fopenssl.git update FIPS script generator to make output easier to hand edit --- 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; }