mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
We want to support hives version 1.3+ (up to 1.5 currently). Fix test accordingly
svn path=/trunk/; revision=24067
This commit is contained in:
parent
7b79f44d6b
commit
07dc58982f
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ HvpVerifyHiveHeader(
|
|||
{
|
||||
if (HiveHeader->Signature != HV_SIGNATURE ||
|
||||
HiveHeader->Major != HV_MAJOR_VER ||
|
||||
HiveHeader->Minor > HV_MINOR_VER ||
|
||||
HiveHeader->Minor < HV_MINOR_VER ||
|
||||
HiveHeader->Type != HV_TYPE_PRIMARY ||
|
||||
HiveHeader->Format != HV_FORMAT_MEMORY ||
|
||||
HiveHeader->Cluster != 1 ||
|
||||
|
@ -31,7 +31,7 @@ HvpVerifyHiveHeader(
|
|||
DPRINT1("Verify Hive Header failed: \n");
|
||||
DPRINT1(" Signature: 0x%x and not 0x%x, Major: 0x%x and not 0x%x\n",
|
||||
HiveHeader->Signature, HV_SIGNATURE, HiveHeader->Major, HV_MAJOR_VER);
|
||||
DPRINT1(" Minor: 0x%x is not > 0x%x, Type: 0x%x and not 0x%x\n",
|
||||
DPRINT1(" Minor: 0x%x is not >= 0x%x, Type: 0x%x and not 0x%x\n",
|
||||
HiveHeader->Minor, HV_MINOR_VER, HiveHeader->Type, HV_TYPE_PRIMARY);
|
||||
DPRINT1(" Format: 0x%x and not 0x%x, Cluster: 0x%x and not 1\n",
|
||||
HiveHeader->Format, HV_FORMAT_MEMORY, HiveHeader->Cluster);
|
||||
|
|
Loading…
Reference in a new issue