mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Use legacy LOGON_PROOF format for auth protocol < 8
This commit is contained in:
parent
dca8fcad31
commit
280c6ffa1d
6 changed files with 36 additions and 11 deletions
|
|
@ -60,6 +60,9 @@ class LogonProofPacket {
|
|||
public:
|
||||
static network::Packet build(const std::vector<uint8_t>& A,
|
||||
const std::vector<uint8_t>& M1);
|
||||
// Legacy (protocol < 8): A(32) + M1(20) + crc(20) + number_of_keys(1). No securityFlags byte.
|
||||
static network::Packet buildLegacy(const std::vector<uint8_t>& A,
|
||||
const std::vector<uint8_t>& M1);
|
||||
static network::Packet build(const std::vector<uint8_t>& A,
|
||||
const std::vector<uint8_t>& M1,
|
||||
uint8_t securityFlags,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue