aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pkclist.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2008-10-03 20:00:46 +0000
committerDavid Shaw <[email protected]>2008-10-03 20:00:46 +0000
commit1b86ee9806f4fbb37a4499717c003b0eb837183a (patch)
tree292b46efca6716eae193fbb9501b6a7f5a9d1f35 /g10/pkclist.c
parentAdd /daatfile command to gpg-connect-agent. (diff)
downloadgnupg-1b86ee9806f4fbb37a4499717c003b0eb837183a.tar.gz
gnupg-1b86ee9806f4fbb37a4499717c003b0eb837183a.zip
* main.h, mainproc.c (check_sig_and_print), keylist.c
(list_keyblock_print), pkclist.c (do_edit_ownertrust), keyedit.c (menu_showphoto), photoid.c (generate_photo_id, show_photos), misc.c (pct_expando): Add %v and %V expandos so that displaying photo IDs can show the attribute validity tag (%v) and string (%V). Originally by Daniel Gillmor.
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r--g10/pkclist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c
index 56d39f7d2..3203a7ea6 100644
--- a/g10/pkclist.c
+++ b/g10/pkclist.c
@@ -236,7 +236,8 @@ do_edit_ownertrust (PKT_public_key *pk, int mode,
if((opt.verify_options&VERIFY_SHOW_PHOTOS)
&& un->pkt->pkt.user_id->attrib_data)
show_photos(un->pkt->pkt.user_id->attribs,
- un->pkt->pkt.user_id->numattribs,pk,NULL);
+ un->pkt->pkt.user_id->numattribs,pk,NULL,
+ un->pkt->pkt.user_id);
p=utf8_to_native(un->pkt->pkt.user_id->name,
un->pkt->pkt.user_id->len,0);