aboutsummaryrefslogtreecommitdiffstats
path: root/common/server-help.c
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2016-02-25 20:20:32 +0000
committerNeal H. Walfield <[email protected]>2016-02-25 20:20:32 +0000
commit960f5e26f2cda3ac6e6b30548fa808a690c39ffc (patch)
tree60384cc1334e34dd53683dde662f39ca995a3c8b /common/server-help.c
parentgpg: Avoid directly twiddling bits. (diff)
downloadgnupg-960f5e26f2cda3ac6e6b30548fa808a690c39ffc.tar.gz
gnupg-960f5e26f2cda3ac6e6b30548fa808a690c39ffc.zip
gpg: More carefully encode a packet's length.
* g10/build-packet.c (write_header2): Make sure the length bits are cleared. Fail if HDRLEN is set and the specified length can't be encoded in the available space. -- Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'common/server-help.c')
0 files changed, 0 insertions, 0 deletions