aboutsummaryrefslogtreecommitdiffstats
path: root/g10/decrypt-data.c
diff options
context:
space:
mode:
authorJussi Kivilinna <[email protected]>2022-02-12 18:37:48 +0000
committerJussi Kivilinna <[email protected]>2022-03-08 18:00:31 +0000
commitf2322ff942fabd55de0a1272b1fcca534e623bd1 (patch)
tree06d299bec082d33231ef80688e83de4a0649c20f /g10/decrypt-data.c
parentgpgtar,w32: Support file names longer than MAX_PATH. (diff)
downloadgnupg-f2322ff942fabd55de0a1272b1fcca534e623bd1.tar.gz
gnupg-f2322ff942fabd55de0a1272b1fcca534e623bd1.zip
Use iobuf buffer size for temporary buffer size
* common/iobuf.c (iobuf_copy): Use iobuf buffer size for temporary buffers. * g10/plaintext.c (handle_plaintext, do_hash): Likewise. * g10/sign.c (sign_file): Likewise. -- As iobuf will have zerocopy operation for read/write, it is better to use same size buffers as iobuf for temporary copy buffers. GnuPG-bug-id: T5828 Signed-off-by: Jussi Kivilinna <[email protected]>
Diffstat (limited to 'g10/decrypt-data.c')
0 files changed, 0 insertions, 0 deletions