diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c index 3f9a2430848..1f5348c924f 100644 --- a/dlls/crypt32/decode.c +++ b/dlls/crypt32/decode.c @@ -231,6 +231,8 @@ static BOOL CRYPT_DecodeEnsureSpace(DWORD dwFlags, SetLastError(ERROR_MORE_DATA); ret = FALSE; } + else + *pcbStructInfo = bytesNeeded; return ret; }