HomePhabricator

buffer: Precalculate the size required for ssh_buffer_pack()

Authored by asn on Aug 31 2018, 5:48 PM.

Description

buffer: Precalculate the size required for ssh_buffer_pack()

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit c15bd2831f72c2a0bb1abdbfc171bcea06fc13ed)

Details

Committed
asnSep 3 2018, 7:04 PM
Parents
rLIBSSHd886870bbfa9: buffer: Only reduce the buffer size if it gets bigger than 64K
Branches
Unknown
Tags
Unknown