diff options
author | David Shaw <dshaw@jabberwocky.com> | 2005-09-01 22:51:13 +0200 |
---|---|---|
committer | David Shaw <dshaw@jabberwocky.com> | 2005-09-01 22:51:13 +0200 |
commit | be8543812d67b47af668d3e72b7515e2f91b0dbe (patch) | |
tree | 9d1eac14802ca684b62d6d0b090ac9005187ab03 /g10/photoid.h | |
parent | * mpicoder.c (mpi_read): Fix minor bug in reading a zero-length MPI (diff) | |
download | gnupg2-be8543812d67b47af668d3e72b7515e2f91b0dbe.tar.xz gnupg2-be8543812d67b47af668d3e72b7515e2f91b0dbe.zip |
* photoid.h, photoid.c (generate_photo_id): Allow passing in a
suggested filename.
* keyedit.c (keyedit_menu, menu_adduid): Call it here so "addphoto
filename" works.
Diffstat (limited to 'g10/photoid.h')
-rw-r--r-- | g10/photoid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/photoid.h b/g10/photoid.h index 031c0fee6..d13669c52 100644 --- a/g10/photoid.h +++ b/g10/photoid.h @@ -26,7 +26,7 @@ #include "packet.h" -PKT_user_id *generate_photo_id(PKT_public_key *pk); +PKT_user_id *generate_photo_id(PKT_public_key *pk,const char *filename); int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len); char *image_type_to_string(byte type,int style); void show_photos(const struct user_attribute *attrs, |