mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 21:51:51 +00:00
create LeaseSet encryption key per tunnel pool
This commit is contained in:
1 parent
3313a5af5c
commit
d7084e379f
5 files changed
+20
-17
No files matched your search
+1
-1
@@ -377,7 +377,7 @@ namespace stream
|
||||
size_t size = 0;
|
||||
memcpy (buf + size, &m_Identity, sizeof (m_Identity));
|
||||
size += sizeof (m_Identity); // destination
|
||||
memcpy (buf + size, i2p::context.GetLeaseSetPublicKey (), 256);
|
||||
memcpy (buf + size, m_Pool->GetEncryptionPublicKey (), 256);
|
||||
size += 256; // encryption key
|
||||
memset (buf + size, 0, 128);
|
||||
size += 128; // signing key
|
||||
|
||||
Reference in new issue
Block a user