From 04601b726002df0f1b108ca558f321974155c3cc Mon Sep 17 00:00:00 2001 From: Andrew <44542704+Endermanch@users.noreply.github.com> Date: Sun, 28 May 2023 20:37:46 +0300 Subject: [PATCH] Fix the "0x62A32" bug in XP Generation --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index bcbe02c..e1eb889 100644 --- a/main.cpp +++ b/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)); pack(bkey, pid, hash, sig); 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);