aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2001-09-07 11:40:19 +0000
committerWerner Koch <[email protected]>2001-09-07 11:40:19 +0000
commit2874670be96c65a30179abe810f84a24b58ba2a4 (patch)
tree1e66cb01ef8116e8910add1f342ce7451e2af182 /g10/keyedit.c
parentfixed a stupid C error (diff)
downloadgnupg-SNAP-1-0-6a.tar.gz
gnupg-SNAP-1-0-6a.zip
Last changes before 1.0.6a snapshot releaseSNAP-1-0-6a
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r--g10/keyedit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index 033220de1..d1cc9da38 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -290,10 +290,15 @@ sign_uids( KBNODE keyblock, STRLIST locusr, int *ret_modified, int local )
&& (node->pkt->pkt.signature->sig_class&~3) == 0x10 ) {
if( sk_keyid[0] == node->pkt->pkt.signature->keyid[0]
&& sk_keyid[1] == node->pkt->pkt.signature->keyid[1] ) {
+ char buf[50];
+
/* Fixme: see whether there is a revocation in which
* case we should allow to sign it again. */
tty_printf(_("Already signed by key %08lX\n"),
(ulong)sk_keyid[1] );
+ sprintf (buf, "%08lX%08lX",
+ (ulong)sk->keyid[0], (ulong)sk->keyid[1] );
+ write_status_text (STATUS_ALREADY_SIGNED, buf);
uidnode->flag &= ~NODFLG_MARK_A; /* remove mark */
}
}