diff options
author | David Goulet <dgoulet@torproject.org> | 2019-04-24 15:39:10 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-04-29 12:17:57 -0400 |
commit | d084f9115d7d46ad5e029b9c75cea716fa7d65a5 (patch) | |
tree | 5db84df8e12cd9e1938cdb548af35330a06967af /changes/ticket29435 | |
parent | c7385b5b14b30774c1768798c4495465da4d995d (diff) | |
download | tor-d084f9115d7d46ad5e029b9c75cea716fa7d65a5.tar.gz tor-d084f9115d7d46ad5e029b9c75cea716fa7d65a5.zip |
sendme: Better handle the random padding
We add random padding to every cell if there is room. This commit not only
fixes how we compute that random padding length/offset but also improves its
safety with helper functions and a unit test.
Part of #26288
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/ticket29435')
0 files changed, 0 insertions, 0 deletions