summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-01-22 22:11:31 +0100
committerAndy Polyakov <appro@openssl.org>2013-01-22 22:51:29 +0100
commit3f233a1e7767c29e668d13155bfed78db4c1437c (patch)
treeffb2343edb04c65c150c809ff59069ded5ef733d /crypto/bn
parent25917e972da116b45df8ba308e6f7ed161e3e4e2 (diff)
x86_64 assembly pack: make Windows build more robust [from master].
PR: 2963 and a number of others
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/asm/modexp512-x86_64.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bn/asm/modexp512-x86_64.pl b/crypto/bn/asm/modexp512-x86_64.pl
index 28b6dab2f0..bfd6e97541 100644
--- a/crypto/bn/asm/modexp512-x86_64.pl
+++ b/crypto/bn/asm/modexp512-x86_64.pl
@@ -68,7 +68,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;
use strict;
my $code=".text\n\n";