mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
fixed build error
This commit is contained in:
parent
ba1b8c7c2b
commit
6a467a09bd
@ -754,11 +754,7 @@ namespace garlic
|
||||
std::shared_ptr<I2NPMessage> msg)
|
||||
{
|
||||
if (router->GetEncryptionType () == i2p::data::CRYPTO_KEY_TYPE_ECIES_X25519_AEAD)
|
||||
{
|
||||
auto session = std::make_shared<ECIESX25519AEADRatchetSession>(this, false);
|
||||
session->SetRemoteStaticKey (router->GetIdentity ()->GetEncryptionPublicKey ());
|
||||
return session->WrapOneTimeMessage (msg, true);
|
||||
}
|
||||
return WrapECIESX25519MessageForRouter (msg, router->GetIdentity ()->GetEncryptionPublicKey ());
|
||||
else
|
||||
{
|
||||
auto session = GetRoutingSession (router, false);
|
||||
|
Loading…
Reference in New Issue
Block a user