aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-10-23 08:40:36 +0000
committerWerner Koch <[email protected]>2024-10-23 09:43:08 +0000
commit18081e2ecf43de2be6ad5a7ca3384e1e2b66914d (patch)
tree85aa3365b947da5bc7da0cea5610a60da6517eb3 /build-aux
parentagent: Fix resource leak for PRIMARY_CTX. (diff)
downloadgnupg-18081e2ecf43de2be6ad5a7ca3384e1e2b66914d.tar.gz
gnupg-18081e2ecf43de2be6ad5a7ca3384e1e2b66914d.zip
gpgsm: Terminate key listing on output write error.
* sm/keylist.c (list_internal_keys): Detect write errors to the output stream. * sm/server.c (any_failure_printed): New var. (gpgsm_status2): Handle new var. Move statusfp init to ... (gpgsm_init_statusfp): new function. (gpgsm_exit_failure_status): New. * sm/gpgsm.c (main): Explicit statusfp init. (gpgsm_exit): Print failure status on error. -- Test by using gpgsm -k >/dev/full gpgsm -k --wit-colons >/dev/full and also by redirecting to a file on a small partition. GnuPG-bug-id: 6185
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions