fixed crash

This commit is contained in:
orignal 2014-12-08 21:28:11 -05:00
parent cb06f8e0bb
commit b9b224fdc3
2 changed files with 2 additions and 8 deletions

View file

@ -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);
}