use correct encryption key for ElGamal

This commit is contained in:
orignal 2016-12-16 21:23:04 -05:00
parent 38d85a49e7
commit 63d6b23344
2 changed files with 9 additions and 13 deletions

View file

@ -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;