瀏覽代碼

Dont use AES in HELLO.

Adam Ierymenko 4 年之前
父節點
當前提交
53ba413d32
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {