sha512-sparcv9.pl: fix binutils compilation error.
authorAndy Polyakov <appro@openssl.org>
Sat, 15 Sep 2012 08:53:25 +0000 (08:53 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 15 Sep 2012 08:53:25 +0000 (08:53 +0000)
Submitted by: David Miller

crypto/sha/asm/sha512-sparcv9.pl

index 71d6726..e728d6e 100644 (file)
@@ -170,7 +170,7 @@ $code.=<<___ if ($i==0);
        ld      [$inp+16],%l4
        ld      [$inp+20],%l5
        ld      [$inp+24],%l6
-       cmp     0,$tmp31
+       cmp     $tmp31,0
        ld      [$inp+28],%l7
 ___
 $code.=<<___ if ($i<15);