don't make LRCM grow in size

This commit is contained in:
Jeff Becker 2018-06-27 09:13:33 -04:00
parent 9b2bcfc22e
commit 86f16ff090
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -257,7 +257,7 @@ namespace llarp
// we pop the front element it was ours // we pop the front element it was ours
self->frames.pop_front(); self->frames.pop_front();
// put our response on the end // put our response on the end
self->frames.emplace_back(sz); self->frames.emplace_back(sz - EncryptedFrame::OverheadSize);
// random junk for now // random junk for now
self->frames.back().Randomize(); self->frames.back().Randomize();