mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed crash
This commit is contained in:
parent
cb06f8e0bb
commit
b9b224fdc3
2 changed files with 2 additions and 8 deletions
|
@ -279,7 +279,7 @@ namespace garlic
|
|||
uint8_t key[32], tag[32];
|
||||
m_Rnd.GenerateBlock (key, 32); // random session key
|
||||
m_Rnd.GenerateBlock (tag, 32); // random session tag
|
||||
m_Owner->AddSessionKey (key, tag);
|
||||
m_Owner->SubmitSessionKey (key, tag);
|
||||
GarlicRoutingSession garlic (key, tag);
|
||||
msg = garlic.WrapSingleMessage (msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue