aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/mainproc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index dd40c10f5..e5c83287a 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -848,7 +848,9 @@ check_sig_and_print( CTX c, KBNODE node )
rc = do_check_sig(c, node, NULL );
if( !rc || rc == G10ERR_BAD_SIGN ) {
- write_status( rc? STATUS_BADSIG : STATUS_GOODSIG );
+ char *us = get_user_id_string( sig->keyid );
+ write_status_text( rc? STATUS_BADSIG : STATUS_GOODSIG, us );
+ m_free(us);
log_info(rc? _("BAD signature from \"")
: _("Good signature from \""));
print_keyid( stderr, sig->keyid );