summaryrefslogtreecommitdiff
path: root/protocols/WhatsAppWeb/src/noise.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-01 14:20:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-01 14:20:05 +0300
commit87ff6ba67d4df0b4c0ae3db86220b816ec6a1e75 (patch)
tree9927b65a05688d70cf1fef5ef52a7fe956138de2 /protocols/WhatsAppWeb/src/noise.cpp
parent6de31630215f88f3639efb834be02e5af9bfce57 (diff)
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 <stream:error> processing
Diffstat (limited to 'protocols/WhatsAppWeb/src/noise.cpp')
-rw-r--r--protocols/WhatsAppWeb/src/noise.cpp3
1 files changed, 0 insertions, 3 deletions
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);