diff options
author | Andy Polyakov <appro@openssl.org> | 2013-01-22 22:11:31 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-01-22 22:27:28 +0100 |
commit | 46bf83f07ae1ba7fda435c90af93960e77159f4b (patch) | |
tree | ac19e38c07f1a4f6bce530ccc46bc47f01303448 /crypto/rc4 | |
parent | 7c47f0d9468b13d1a7de4bebcc46142a02e6acc9 (diff) |
x86_64 assembly pack: make Windows build more robust.
PR: 2963 and a number of others
Diffstat (limited to 'crypto/rc4')
-rw-r--r-- | crypto/rc4/asm/rc4-md5-x86_64.pl | 3 | ||||
-rwxr-xr-x | crypto/rc4/asm/rc4-x86_64.pl | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/crypto/rc4/asm/rc4-md5-x86_64.pl b/crypto/rc4/asm/rc4-md5-x86_64.pl index 0e04df67b2..49d5438457 100644 --- a/crypto/rc4/asm/rc4-md5-x86_64.pl +++ b/crypto/rc4/asm/rc4-md5-x86_64.pl @@ -54,7 +54,8 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; my $dir=$1; my $xlate; ( $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; my ($dat,$in0,$out,$ctx,$inp,$len, $func,$nargs); diff --git a/crypto/rc4/asm/rc4-x86_64.pl b/crypto/rc4/asm/rc4-x86_64.pl index 73fb815121..fa22763187 100755 --- a/crypto/rc4/asm/rc4-x86_64.pl +++ b/crypto/rc4/asm/rc4-x86_64.pl @@ -115,7 +115,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; $dat="%rdi"; # arg1 $len="%rsi"; # arg2 |