crypt32: Set return value on exception.

Spotted by Paul Vriens.
This commit is contained in:
Juan Lang 2007-08-14 11:32:33 -07:00 committed by Alexandre Julliard
parent 9a58b30819
commit 714a3731eb
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ static BOOL CDataEncodeMsg_Update(HCRYPTMSG hCryptMsg, const BYTE *pbData,
__EXCEPT_PAGE_FAULT __EXCEPT_PAGE_FAULT
{ {
SetLastError(STATUS_ACCESS_VIOLATION); SetLastError(STATUS_ACCESS_VIOLATION);
ret = FALSE;
} }
__ENDTRY; __ENDTRY;
} }