mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
moved encryption keys from TunnelPool to StreamingDestination
This commit is contained in:
parent
9f0c0b3b35
commit
c600be59b1
6 changed files with 16 additions and 9 deletions
|
@ -139,6 +139,8 @@ namespace stream
|
|||
// implements LocalDestination
|
||||
void UpdateLeaseSet ();
|
||||
const i2p::data::IdentHash& GetIdentHash () const { return m_IdentHash; };
|
||||
const uint8_t * GetEncryptionPrivateKey () const { return m_EncryptionPrivateKey; };
|
||||
const uint8_t * GetEncryptionPublicKey () const { return m_EncryptionPublicKey; };
|
||||
|
||||
private:
|
||||
|
||||
|
@ -149,7 +151,8 @@ namespace stream
|
|||
std::map<uint32_t, Stream *> m_Streams;
|
||||
i2p::data::PrivateKeys m_Keys;
|
||||
i2p::data::IdentHash m_IdentHash;
|
||||
|
||||
uint8_t m_EncryptionPublicKey[256], m_EncryptionPrivateKey[256];
|
||||
|
||||
i2p::tunnel::TunnelPool * m_Pool;
|
||||
I2NPMessage * m_LeaseSet;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue