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 fbaccc4..2dc1beb 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 {