Don't try and update c_rehash for fipscanisteronly builds.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 22 Feb 2011 12:44:29 +0000 (12:44 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 22 Feb 2011 12:44:29 +0000 (12:44 +0000)
Configure

index fbaccc4569eb933ee63591bb8c1227f312bc9d85..2dc1bebf3c45f5a18e24375e8aad6d14f744e4a0 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1926,7 +1926,9 @@ EOF
        $make_targets .= " gentests" if $symlink;
        (system $make_command.$make_targets) == 0 or exit $?
                if $make_targets ne "";
-       if ( $perl =~ m@^/@) {
+       if ( $fipscanisteronly )
+               {}
+       elsif ( $perl =~ m@^/@) {
            &dofile("tools/c_rehash",$perl,'^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";', '^my \$prefix;$', 'my $prefix = "' . $prefix . '";');
            &dofile("apps/CA.pl",$perl,'^#!/', '#!%s');
        } else {