mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-25 00:20:16 +00:00
Two bugs that caused the server to always reject our login proof: - N was hashed as 256 bytes (2048 bits) instead of 32 bytes (256 bits), producing completely wrong H(N)^H(g) and therefore wrong M1 - Session key computation B-k*g^x could go negative; OpenSSL's BN_mod_exp doesn't handle negative bases. Add k*N before subtracting (standard TrinityCore approach) to keep the value positive |
||
|---|---|---|
| .. | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| rendering | ||
| ui | ||
| main.cpp | ||