mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-11-16 19:00:59 +02:00
Fix the "0x62A32" bug in XP Generation
This commit is contained in:
parent
2af9f6db64
commit
04601b7260
2
main.cpp
2
main.cpp
@ -290,7 +290,7 @@ void generate(uint8_t *pkey, EC_GROUP *ec, EC_POINT *generator, BIGNUM *order, B
|
|||||||
endian((uint8_t *)sig, BN_num_bytes(s));
|
endian((uint8_t *)sig, BN_num_bytes(s));
|
||||||
pack(bkey, pid, hash, sig);
|
pack(bkey, pid, hash, sig);
|
||||||
printf("PID: %.8x\nHash: %.8x\nSig: %.8x %.8x\n", pid[0], hash[0], sig[1], sig[0]);
|
printf("PID: %.8x\nHash: %.8x\nSig: %.8x %.8x\n", pid[0], hash[0], sig[1], sig[0]);
|
||||||
} while (bkey[3] >= 0x62a32);
|
} while (bkey[3] >= 0x40000);
|
||||||
|
|
||||||
base24(pkey, bkey);
|
base24(pkey, bkey);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user