mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
GarlicRoutingSession/ElGamalAESSession split
This commit is contained in:
parent
bcfe44db54
commit
d7d964bf57
3 changed files with 201 additions and 158 deletions
|
@ -950,7 +950,7 @@ namespace data
|
|||
if (numTags)
|
||||
{
|
||||
const i2p::garlic::SessionTag sessionTag(excluded + 33); // take first tag
|
||||
i2p::garlic::GarlicRoutingSession garlic (sessionKey, sessionTag);
|
||||
i2p::garlic::ElGamalAESSession garlic (sessionKey, sessionTag);
|
||||
replyMsg = garlic.WrapSingleMessage (replyMsg);
|
||||
if(replyMsg == nullptr) LogPrint(eLogError, "NetDb: failed to wrap message");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue