mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 11:02:26 +00:00
encrypt message for ECIES router
This commit is contained in:
1 parent
32fc6482cc
commit
abdf92c084
4 files changed
+55
-29
No files matched your search
+1
-1
@@ -716,7 +716,7 @@ namespace garlic
|
||||
{
|
||||
auto session = std::make_shared<ECIESX25519AEADRatchetSession>(this, false);
|
||||
session->SetRemoteStaticKey (router->GetIdentity ()->GetEncryptionPublicKey ());
|
||||
return session->WrapOneTimeMessage (msg);
|
||||
return session->WrapOneTimeMessage (msg, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user