mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-06-17 19:46:51 +02:00
use correct encryption key for ElGamal
This commit is contained in:
parent
38d85a49e7
commit
63d6b23344
2 changed files with 9 additions and 13 deletions
4
Garlic.h
4
Garlic.h
|
@ -127,8 +127,7 @@ namespace garlic
|
|||
private:
|
||||
|
||||
GarlicDestination * m_Owner;
|
||||
bool m_IsDestination; // destination or RouterInfo ?
|
||||
i2p::data::IdentHash m_DestinationIdent;
|
||||
std::shared_ptr<const i2p::data::RoutingDestination> m_Destination;
|
||||
|
||||
i2p::crypto::AESKey m_SessionKey;
|
||||
std::list<SessionTag> m_SessionTags;
|
||||
|
@ -140,7 +139,6 @@ namespace garlic
|
|||
uint64_t m_LeaseSetSubmissionTime; // in milliseconds
|
||||
|
||||
i2p::crypto::CBCEncryption m_Encryption;
|
||||
std::unique_ptr<const i2p::crypto::ElGamalEncryption> m_ElGamalEncryption;
|
||||
|
||||
std::shared_ptr<GarlicRoutingPath> m_SharedRoutingPath;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue