cleaned up from duplicated methods

This commit is contained in:
orignal 2014-10-21 15:44:28 -04:00
parent e96ffd4189
commit ab843b6552
6 changed files with 6 additions and 9 deletions

View file

@ -290,7 +290,7 @@ namespace i2p
{
LogPrint ("Record ",i," is ours");
i2p::crypto::ElGamalDecrypt (i2p::context.GetPrivateKey (), records[i].encrypted, (uint8_t *)&clearText);
i2p::crypto::ElGamalDecrypt (i2p::context.GetEncryptionPrivateKey (), records[i].encrypted, (uint8_t *)&clearText);
// replace record to reply
I2NPBuildResponseRecord * reply = (I2NPBuildResponseRecord *)(records + i);
if (i2p::context.AcceptsTunnels ())