diff options
author | Andy Polyakov <appro@openssl.org> | 2005-04-14 07:41:29 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-04-14 07:41:29 +0000 |
commit | 026bb0b96a8359d9a08f79ad151c6a1233cc82c8 (patch) | |
tree | a22bf5b2d139d670efda96e67dd6576ef62c37e5 /crypto/engine | |
parent | 6424498226bb5f60312e7239a12bc0d4886a39a2 (diff) |
Fix for bug emerged in openvpn conext.
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_padlock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/engine/eng_padlock.c b/crypto/engine/eng_padlock.c index 87e62d0d5d..31873520cd 100644 --- a/crypto/engine/eng_padlock.c +++ b/crypto/engine/eng_padlock.c @@ -395,10 +395,10 @@ padlock_verify_context(struct padlock_cipher_data *cdata) " jnc 1f\n" " cmp %2,%1\n" " je 1f\n" -" mov %2,%0\n" " popfl\n" " sub $4,%%esp\n" -"1: add $4,%%esp" +"1: add $4,%%esp\n" +" mov %2,%0" :"+m"(padlock_saved_context) : "r"(padlock_saved_context), "r"(cdata) : "cc"); } @@ -521,10 +521,10 @@ padlock_verify_context(void *cdata) jnc skip cmp ecx,padlock_saved_context je skip - mov padlock_saved_context,ecx popfd sub esp,4 skip: add esp,4 + mov padlock_saved_context,ecx } } |