Dont use AES in HELLO.

This commit is contained in:
Adam Ierymenko 2020-11-09 20:52:49 -05:00
parent 7280fcdec2
commit 53ba413d32
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -409,7 +409,7 @@ void Peer::sendHELLO(void *tPtr,const int64_t localSocket,const InetAddress &atA
outp.cryptField(_key,startCryptedPortionAt,outp.size() - startCryptedPortionAt);
if (atAddress) {
outp.armor(_key,false,aesKeysIfSupported()); // false == don't encrypt full payload, but add MAC
outp.armor(_key,false,nullptr); // false == don't encrypt full payload, but add MAC
RR->node->expectReplyTo(outp.packetId());
RR->node->putPacket(tPtr,localSocket,atAddress,outp.data(),outp.size());
} else {