Fix for bug emerged in openvpn conext.
This commit is contained in:
parent
6424498226
commit
026bb0b96a
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user