remove dead routers

This commit is contained in:
orignal 2013-12-22 11:29:57 -05:00
parent 6341b10556
commit 5d9f292506
7 changed files with 62 additions and 16 deletions

View file

@ -9,6 +9,14 @@ namespace i2p
{
namespace data
{
Identity& Identity::operator=(const Keys& keys)
{
// copy public and signing keys together
memcpy (publicKey, keys.publicKey, sizeof (publicKey) + sizeof (signingKey));
memset (certificate, 0, sizeof (certificate));
return *this;
}
IdentHash CalculateIdentHash (const Identity& identity)
{
IdentHash hash;