common Identity for LeaseSet and RouterInfo

This commit is contained in:
orignal 2013-12-19 21:19:44 -05:00
parent 6f1d4f4300
commit d714d7fe6c
9 changed files with 105 additions and 28 deletions

View file

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