Home GnuPG
Diffusion GnuPG 33ac735a7813

gpg: Use higher-level functions.
33ac735a7813Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Use higher-level functions.

* g10/build-packet.c (do_symkey_enc): Use iobuf_write instead of
iobuf_put in a loop.  Use iobuf_copy instead of iobuf_read and
iobuf_write in a loop.  Move the memory wiping from here...
* common/iobuf.c (iobuf_copy): ... to here.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Feb 23 2016, 9:07 PM
Parents
rG8066f8a3470f: common: Check for an error before reading.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG33ac735a7813: gpg: Use higher-level functions. (authored by Neal H. Walfield <neal@g10code.com>).Feb 23 2016, 9:10 PM