x86_64 assembly pack: keep making Windows build more robust.
authorAndy Polyakov <appro@openssl.org>
Sat, 2 Feb 2013 18:52:43 +0000 (19:52 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 5 Feb 2013 16:46:19 +0000 (16:46 +0000)
PR: 2963 and a number of others
(cherry picked from commit 4568182a8b8cbfd15cbc175189029ac547bd1762)

crypto/bn/asm/x86_64-mont.pl

index 2b1b7159026ecb49c44d8898de33fd95d9f73c9c..fdf0eb8df1d23b5f7ce06291a1d047a1c0594e39 100755 (executable)
@@ -26,7 +26,8 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or
 die "can't locate x86_64-xlate.pl";
 
-open STDOUT,"| \"$^X\" $xlate $flavour $output";
+open OUT,"| \"$^X\" $xlate $flavour $output";
+*STDOUT=*OUT;
 
 # int bn_mul_mont(
 $rp="%rdi";    # BN_ULONG *rp,