mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
common Identity for LeaseSet and RouterInfo
This commit is contained in:
@@ -26,7 +26,7 @@ namespace i2p
|
||||
|
||||
void RouterContext::CreateNewRouter ()
|
||||
{
|
||||
i2p::data::RouterIdentity ident;
|
||||
i2p::data::Identity ident;
|
||||
|
||||
CryptoPP::DH dh (i2p::crypto::elgp, i2p::crypto::elgg);
|
||||
dh.GenerateKeyPair(m_Rnd, m_PrivateKey, ident.publicKey);
|
||||
|
||||
Reference in New Issue
Block a user