generate msgid from instead RAND_bytes

This commit is contained in:
orignal committed 2026-08-08 14:38:11 -04:00
1 parent 60678683ab
commit 6b100353ba
6 files changed
+9 -18

No files matched your search

+1 -1
View File
@@ -474,7 +474,7 @@ namespace datagram
htobe16buf (buf + 6, toPort); // destination port
buf[9] = protocolType; // raw or datagram protocol
msg->len += size + 4;
msg->FillI2NPMessageHeader (eI2NPData, 0, checksum);
msg->FillI2NPMessageHeader (eI2NPData, m_Owner->GetRng ()(), checksum);
}
else
msg = nullptr;