Hi, As of 04-07-2014, the latest version of crypto/sha/asm/sha512-x86_64.pl (commit 29be3f6411) in the master branch shows the following at line 2309:
$code.=<<___ if ($SZ==4 && $shext); Seeing that the variable $shext doesn't exist, but $shaext does, this might be a typo. Please find a (micro)patch attached to change this line to the following: $code.=<<___ if ($SZ==4 && $shaext); Cheers, Peter Mosmans
diff --git a/crypto/sha/asm/sha512-x86_64.pl b/crypto/sha/asm/sha512-x86_64.pl index 9941da9..eef5f3f 100755 --- a/crypto/sha/asm/sha512-x86_64.pl +++ b/crypto/sha/asm/sha512-x86_64.pl @@ -2306,7 +2306,7 @@ $code.=<<___; .rva .LSEH_end_$func .rva .LSEH_info_$func ___ -$code.=<<___ if ($SZ==4 && $shext); +$code.=<<___ if ($SZ==4 && $shaext); .rva .LSEH_begin_${func}_shaext .rva .LSEH_end_${func}_shaext .rva .LSEH_info_${func}_shaext