Browse Source

Dont use AES in HELLO.

Adam Ierymenko 4 years ago
parent
commit
53ba413d32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/Peer.cpp

+ 1 - 1
node/Peer.cpp

@@ -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 {