File aes-x86_64.patch of Package compat-openssl098.703
Index: openssl-0.9.8j/crypto/aes/asm/aes-x86_64.pl
===================================================================
--- openssl-0.9.8j.orig/crypto/aes/asm/aes-x86_64.pl
+++ openssl-0.9.8j/crypto/aes/asm/aes-x86_64.pl
@@ -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