Home GnuPG
Diffusion GnuPG dcab895e4cdc

gpg: Emit status lines for errors in the compression layer.

Description

gpg: Emit status lines for errors in the compression layer.

* g10/compress-bz2.c: Replace all log_fatal by log_error,
write_status_error, and g10_exit.
(do_uncompress): Ditto.

This gives gpgme a better way to detect corrupted data in the
compression layer.