diff options
author | Werner Koch <[email protected]> | 2018-06-21 18:28:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-07-03 09:56:18 +0000 |
commit | 04fb76684d8b2c9cda2e5c35bad6edec521cffa5 (patch) | |
tree | c1f6430766d3e812f1244b3680f7c6056053496a /g10/main.h | |
parent | gpg: Print revocation reason for "rvs" records. (diff) | |
download | gnupg-04fb76684d8b2c9cda2e5c35bad6edec521cffa5.tar.gz gnupg-04fb76684d8b2c9cda2e5c35bad6edec521cffa5.zip |
gpg: Print revocation reason for "rev" records.
* g10/main.h: Add prototype.
* g10/keylist.c (list_keyblock_print): Print revocation info.
(list_keyblock_colon): Ditto.
* g10/test-stubs.c (get_revocation_reason): New stub.
* g10/gpgv.c (get_revocation_reason): New stub.
--
GnuPG-bug-id: 1173
Signed-off-by: Werner Koch <[email protected]>
(cherry picked from commit 592deeddb9bf4ae9b3e236b439e2f39644eb6d46)
Diffstat (limited to '')
-rw-r--r-- | g10/main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index af25d559c..389a557fc 100644 --- a/g10/main.h +++ b/g10/main.h @@ -378,6 +378,9 @@ gpg_error_t transfer_secret_keys (ctrl_t ctrl, struct import_stats_s *stats, int collapse_uids( KBNODE *keyblock ); +int get_revocation_reason (PKT_signature *sig, char **r_reason, + char **r_comment, size_t *r_commentlen); + /*-- export.c --*/ struct export_stats_s; |