Commit 11d01847 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Always set required encoded length in CryptEncodeObject(Ex).

parent 9e7f1828
......@@ -163,6 +163,8 @@ static BOOL CRYPT_EncodeEnsureSpace(DWORD dwFlags,
SetLastError(ERROR_MORE_DATA);
ret = FALSE;
}
else
*pcbEncoded = bytesNeeded;
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