Commit 4ccaaa89 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Always set *pcbStructInfo.

parent 4fa4e5a7
...@@ -231,6 +231,8 @@ static BOOL CRYPT_DecodeEnsureSpace(DWORD dwFlags, ...@@ -231,6 +231,8 @@ static BOOL CRYPT_DecodeEnsureSpace(DWORD dwFlags,
SetLastError(ERROR_MORE_DATA); SetLastError(ERROR_MORE_DATA);
ret = FALSE; ret = FALSE;
} }
else
*pcbStructInfo = bytesNeeded;
return ret; return ret;
} }
......
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