1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Add a DECRYPTION_INFO status.

* g10/status.h (STATUS_DECRYPTION_INFO): New.
* g10/status.c (get_status_string): Add new status string.
* g10/encr-data.c: Include status.h.
(decrypt_data): Print STATUS_DECRYPTION_INFO.
--
This is  backport of commit  5667e33.

DECRYPTION_INFO <mdc_method> <sym_algo>
   Print information about the symmetric encryption algorithm and
   the MDC method.  This will be emitted even if the decryption
   fails.
This commit is contained in:
Werner Koch 2012-01-13 16:20:53 +01:00
parent 1575678710
commit cfb193a1de
3 changed files with 29 additions and 17 deletions

View file

@ -120,6 +120,8 @@
#define STATUS_ERROR 85
#define STATUS_DECRYPTION_INFO 86
/*-- status.c --*/
void set_status_fd ( int fd );