Commit 2557c6a8 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

Valgrind fix to aes-x86_64.pl in 0.9.8. For reference, newer aes-x86_64.pl

don't suffer from the problem after Win64 SEH support was added.
PR: 2075
Submitted by: Peter Klotz
parent aae48de0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1181,12 +1181,12 @@ AES_cbc_encrypt:
.Lcbc_cleanup:
	cmpl	\$0,$mark	# was the key schedule copied?
	lea	$aes_key,%rdi
	mov	$_rsp,%rsp
	je	.Lcbc_exit
		mov	\$240/8,%ecx
		xor	%rax,%rax
		.long	0x90AB48F3	# rep stosq
.Lcbc_exit:
	mov	$_rsp,%rsp
	popfq
	pop	%r15
	pop	%r14