~ubuntu-branches/ubuntu/hardy/openssl/hardy-security

« back to all changes in this revision

Viewing changes to util/pl/Mingw32.pl

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2005-12-13 21:37:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051213213742-7em5nrw5c7ceegyd
Tags: 0.9.8a-5
Stop ssh from crashing randomly on sparc (Closes: #335912)
Patch from upstream cvs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
else
22
22
        { $cflags="-DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer -O3 -mcpu=i486 -Wall"; }
23
23
 
24
 
if ($gaswin and !$no_asm and !$fips)
 
24
if ($gaswin and !$no_asm)
25
25
        {
26
26
        $bn_asm_obj='$(OBJ_D)\bn-win32.o';
27
27
        $bn_asm_src='crypto/bn/asm/bn-win32.s';
43
43
        $rmd160_asm_src='crypto/ripemd/asm/rm-win32.s';
44
44
        $sha1_asm_obj='$(OBJ_D)\s1-win32.o';
45
45
        $sha1_asm_src='crypto/sha/asm/s1-win32.s';
46
 
        $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM";
 
46
        $cflags.=" -DBN_ASM -DMD5_ASM -DSHA1_ASM -DOPENSSL_BN_ASM_PART_WORDS";
47
47
        }
48
48
 
49
49
 
92
92
 
93
93
sub do_link_rule
94
94
        {
95
 
        local($target,$files,$dep_libs,$libs,$sha1file,$openssl)=@_;
 
95
        local($target,$files,$dep_libs,$libs)=@_;
96
96
        local($ret,$_);
97
97
        
98
98
        $file =~ s/\//$o/g if $o ne '/';
99
99
        $n=&bname($target);
100
100
        $ret.="$target: $files $dep_libs\n";
101
 
        $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n";
102
 
        if (defined $sha1file)
103
 
                {
104
 
                $ret.="\t$openssl sha1 -hmac etaonrishdlcupfm -binary $target > $sha1file";
105
 
                }
106
 
        $ret.="\n";
 
101
        $ret.="\t\$(LINK) ${efile}$target \$(LFLAGS) $files $libs\n\n";
107
102
        return($ret);
108
103
        }
109
104
1;