mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
create LeaseSet encryption key per tunnel pool
This commit is contained in:
@@ -14,10 +14,6 @@ namespace i2p
|
||||
if (!Load ())
|
||||
CreateNewRouter ();
|
||||
Save ();
|
||||
|
||||
// we generate LeaseSet at every start-up
|
||||
CryptoPP::DH dh (i2p::crypto::elgp, i2p::crypto::elgg);
|
||||
dh.GenerateKeyPair(m_Rnd, m_LeaseSetPrivateKey, m_LeaseSetPublicKey);
|
||||
}
|
||||
|
||||
void RouterContext::CreateNewRouter ()
|
||||
|
||||
Reference in New Issue
Block a user