summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-01-18 15:07:11 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-01-18 15:07:11 +0000
commit1de6a6222241850c8e3acc81d3c5f2e39b838713 (patch)
treef0ad86836857aa4586269a6efd8acaeb3c041772
parentac381944ac3e8970f40e7eb3fc528e58dcca9d4d (diff)
revert fipslink.pl unlink retry changeOpenSSL-fips-2_0-rc9OpenSSL-fips-2_0
-rw-r--r--fips/fips_locl.h4
-rw-r--r--util/fipslink.pl10
2 files changed, 2 insertions, 12 deletions
diff --git a/fips/fips_locl.h b/fips/fips_locl.h
index b3618a57de..6efa93194e 100644
--- a/fips/fips_locl.h
+++ b/fips/fips_locl.h
@@ -67,8 +67,8 @@ int fips_post_failed(int id, int subid, void *ex);
int fips_post_corrupt(int id, int subid, void *ex);
int fips_post_status(void);
-#define FIPS_MODULE_VERSION_NUMBER 0x20000008L
-#define FIPS_MODULE_VERSION_TEXT "FIPS 2.0-rc8 unvalidated test module xx XXX xxxx"
+#define FIPS_MODULE_VERSION_NUMBER 0x20000009L
+#define FIPS_MODULE_VERSION_TEXT "FIPS 2.0-rc9 unvalidated test module xx XXX xxxx"
#ifdef __cplusplus
}
diff --git a/util/fipslink.pl b/util/fipslink.pl
index fd8b52ea0d..4f47efa39c 100644
--- a/util/fipslink.pl
+++ b/util/fipslink.pl
@@ -57,16 +57,6 @@ print "$fips_cc -DHMAC_SHA1_SIG=\\\"$fips_hash\\\" $fips_cc_args $fips_libdir/fi
system "$fips_cc -DHMAC_SHA1_SIG=\\\"$fips_hash\\\" $fips_cc_args $fips_libdir/fips_premain.c";
die "Second stage Compile failure" if $? != 0;
-my $delcnt = 0;
-# On windows the previous file doesn't always close straight away
-# so retry an unlink operation a few times if it fails.
-while (!unlink($fips_target))
- {
- sleep 2;
- die "Can't delete $fips_target" if ($delcnt++ > 10);
- }
-
-
print "$fips_link @ARGV\n";
system "$fips_link @ARGV";
die "Second stage Link failure" if $? != 0;