mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
common Identity for LeaseSet and RouterInfo
This commit is contained in:
parent
6f1d4f4300
commit
d714d7fe6c
9 changed files with 105 additions and 28 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue