From 87ff6ba67d4df0b4c0ae3db86220b816ec6a1e75 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Oct 2022 14:20:05 +0300 Subject: WhatsApp: - first version that registers ok in the phone (YAHOO!!); - the rest of legacy code removed; - class WAJid introduced to handle various perversions; - ServerThread behavior changed to use global variables instead of locals; - IQ processing core extracted to the separate module; - added processing --- protocols/WhatsAppWeb/src/noise.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'protocols/WhatsAppWeb/src/noise.cpp') diff --git a/protocols/WhatsAppWeb/src/noise.cpp b/protocols/WhatsAppWeb/src/noise.cpp index 72b64fcc8a..68f2549bf9 100644 --- a/protocols/WhatsAppWeb/src/noise.cpp +++ b/protocols/WhatsAppWeb/src/noise.cpp @@ -30,9 +30,6 @@ WANoise::WANoise(WhatsAppProto *_ppro) : ephemeral.priv.assign(pPrivKey->data, sizeof(pPrivKey->data)); ec_key_pair_destroy(pKeys); - // ephemeral.pub.assign("\xd7\x58\xeb\xcc\x79\xb8\x58\xde\xc7\x60\x5c\x12\x22\xc1\x3b\x7c\xf6\x73\x38\x0b\x89\x56\xf1\xe2\xa1\xb0\xaa\x3a\xba\xbc\x08\x3f", 32); - // ephemeral.priv.assign("\xa0\xef\xd2\xbd\x2d\x4a\x6f\x9c\xd0\x9e\xc5\x75\x3c\x78\x78\xed\xe5\xec\x99\xd7\x4b\xeb\xf8\xb0\xdd\x1e\xe2\xc1\x85\xc4\xd8\x72", 32); - // prepare hash memcpy(hash, noise_init, 32); updateHash(intro_header, 4); -- cgit v1.2.3