projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sha[1|512]-x86_64.pl: fix logical errors with $shaext=0.
[openssl.git]
/
crypto
/
sha
/
asm
/
sha512-x86_64.pl
diff --git
a/crypto/sha/asm/sha512-x86_64.pl
b/crypto/sha/asm/sha512-x86_64.pl
index eef5f3f30cde2e27ec0e07f6d81e25bbe3b37edd..476e99fee8f4d6508a9e9f059d11cb7c1c258c4d 100755
(executable)
--- a/
crypto/sha/asm/sha512-x86_64.pl
+++ b/
crypto/sha/asm/sha512-x86_64.pl
@@
-2339,10
+2339,12
@@
$code.=<<___;
.rva se_handler
.rva .Lprologue,.Lepilogue # HandlerData[]
___
.rva se_handler
.rva .Lprologue,.Lepilogue # HandlerData[]
___
-$code.=<<___ if ($SZ==4);
+$code.=<<___ if ($SZ==4
&& $shaext
);
.LSEH_info_${func}_shaext:
.byte 9,0,0,0
.rva shaext_handler
.LSEH_info_${func}_shaext:
.byte 9,0,0,0
.rva shaext_handler
+___
+$code.=<<___ if ($SZ==4);
.LSEH_info_${func}_ssse3:
.byte 9,0,0,0
.rva se_handler
.LSEH_info_${func}_ssse3:
.byte 9,0,0,0
.rva se_handler