summaryrefslogtreecommitdiffstats
path: root/crypto/camellia
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:27:28 +0100
commit46bf83f07ae1ba7fda435c90af93960e77159f4b (patch)
treeac19e38c07f1a4f6bce530ccc46bc47f01303448 /crypto/camellia
parent7c47f0d9468b13d1a7de4bebcc46142a02e6acc9 (diff)
x86_64 assembly pack: make Windows build more robust.
PR: 2963 and a number of others
Diffstat (limited to 'crypto/camellia')
-rw-r--r--crypto/camellia/asm/cmll-x86_64.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/camellia/asm/cmll-x86_64.pl b/crypto/camellia/asm/cmll-x86_64.pl
index 53e41f2e5e..d94f46b887 100644
--- a/crypto/camellia/asm/cmll-x86_64.pl
+++ b/crypto/camellia/asm/cmll-x86_64.pl
@@ -40,7 +40,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;
sub hi() { my $r=shift; $r =~ s/%[er]([a-d])x/%\1h/; $r; }
sub lo() { my $r=shift; $r =~ s/%[er]([a-d])x/%\1l/;