mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 19:22:48 +00:00
generate msgid from instead RAND_bytes
This commit is contained in:
1 parent
60678683ab
commit
6b100353ba
6 files changed
+9
-18
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user