Skip to content
Snippets Groups Projects
Commit 0dc84ead authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard
Browse files

ntoskrnl.exe/tests: Also handle ERROR_INVALID_IMAGE_HASH.

parent c5c37cf6
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ static SC_HANDLE load_driver(char *filename)
SetLastError(0xdeadbeef);
ret = StartServiceA(service, 0, NULL);
if (!ret && GetLastError() == ERROR_DRIVER_BLOCKED)
if (!ret && (GetLastError() == ERROR_DRIVER_BLOCKED || GetLastError() == ERROR_INVALID_IMAGE_HASH))
{
/* If Secure Boot is enabled or the machine is 64-bit, it will reject an unsigned driver. */
skip("Failed to start service; probably your machine doesn't accept unsigned drivers.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment