mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: New %U expando for the photo viewer.
* g10/photoid.c (show_photos): Set namehash. * g10/misc.c (pct_expando): Add "%U" expando. -- This makes is possible to extract all photos ids from a key to different files.
This commit is contained in:
parent
b8a91ebf46
commit
e184a11f94
4 changed files with 21 additions and 1 deletions
|
@ -305,6 +305,8 @@ show_photos(const struct user_attribute *attrs, int count,
|
|||
args.pk = pk;
|
||||
args.validity_info = get_validity_info (pk, uid);
|
||||
args.validity_string = get_validity_string (pk, uid);
|
||||
namehash_from_uid (uid);
|
||||
args.namehash = uid->namehash;
|
||||
|
||||
if (pk)
|
||||
keyid_from_pk (pk, kid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue