Commit 714a3731 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Set return value on exception.

Spotted by Paul Vriens.
parent 9a58b308
......@@ -209,6 +209,7 @@ static BOOL CDataEncodeMsg_Update(HCRYPTMSG hCryptMsg, const BYTE *pbData,
__EXCEPT_PAGE_FAULT
{
SetLastError(STATUS_ACCESS_VIOLATION);
ret = FALSE;
}
__ENDTRY;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment