Unified - adapt the generation of ripemd assembler to use GENERATE
[openssl.git] / crypto / ripemd / asm / rmd-586.pl
index e8b2bc2db2dee356f8d69951ad4fba75281e2921..fd32a73606e5b477b6aaeeb9cbefa351cb8acb16 100644 (file)
@@ -9,6 +9,9 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
 push(@INC,"${dir}","${dir}../../perlasm");
 require "x86asm.pl";
 
+$output=pop;
+open STDOUT,">$output";
+
 &asm_init($ARGV[0],$0);
 
 $A="ecx";
@@ -60,6 +63,8 @@ $KR3=0x7A6D76E9;
 &ripemd160_block("ripemd160_block_asm_data_order");
 &asm_finish();
 
+close STDOUT;
+
 sub Xv
        {
        local($n)=@_;