"Paul Vriens" paul.vriens.wine@gmail.com wrote:
ret = CryptSIPRetrieveSubjectGuid(tempfileW, NULL, &subject); ok ( !ret, "Expected CryptSIPRetrieveSubjectGuid to fail\n"); ok ( GetLastError() == ERROR_FILE_INVALID ||
GetLastError() == ERROR_INVALID_PARAMETER /* Vista */ || GetLastError() == S_OK /* Win98 */,
"Expected ERROR_FILE_INVALID or S_OK, got 0x%08x\n", GetLastError());
"Expected ERROR_FILE_INVALID, ERROR_INVALID_PARAMETER or S_OK, got 0x%08x\n", GetLastError());
S_OK is an OLE error, ERROR_SUCCESS is correct name in this case.
It's not your fault at all, but since you are fixing this code it would be nice to fix it as well.
Dmitry Timoshkov wrote:
"Paul Vriens" paul.vriens.wine@gmail.com wrote:
ret = CryptSIPRetrieveSubjectGuid(tempfileW, NULL, &subject); ok ( !ret, "Expected CryptSIPRetrieveSubjectGuid to fail\n"); ok ( GetLastError() == ERROR_FILE_INVALID ||
GetLastError() == ERROR_INVALID_PARAMETER /* Vista */ || GetLastError() == S_OK /* Win98 */,
"Expected ERROR_FILE_INVALID or S_OK, got 0x%08x\n",
GetLastError());
"Expected ERROR_FILE_INVALID, ERROR_INVALID_PARAMETER or
S_OK, got 0x%08x\n", GetLastError());
S_OK is an OLE error, ERROR_SUCCESS is correct name in this case.
It's not your fault at all, but since you are fixing this code it would be nice to fix it as well.
Well.... actually I wrote the initial test as well :-)
I'll change that and resend.
Cheers,
Paul.