summaryrefslogtreecommitdiff
path: root/src/crypto/fipsmodule/bn/asm/armv4-mont.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/fipsmodule/bn/asm/armv4-mont.pl')
-rw-r--r--src/crypto/fipsmodule/bn/asm/armv4-mont.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crypto/fipsmodule/bn/asm/armv4-mont.pl b/src/crypto/fipsmodule/bn/asm/armv4-mont.pl
index f3aa4be5..a8e89f6b 100644
--- a/src/crypto/fipsmodule/bn/asm/armv4-mont.pl
+++ b/src/crypto/fipsmodule/bn/asm/armv4-mont.pl
@@ -64,9 +64,11 @@ if ($flavour && $flavour ne "void") {
( $xlate="${dir}../../../perlasm/arm-xlate.pl" and -f $xlate) or
die "can't locate arm-xlate.pl";
- open STDOUT,"| \"$^X\" $xlate $flavour $output";
+ open OUT,"| \"$^X\" $xlate $flavour $output";
+ *STDOUT=*OUT;
} else {
- open STDOUT,">$output";
+ open OUT,">$output";
+ *STDOUT=*OUT;
}
$num="r0"; # starts as num argument, but holds &tp[num-1]