Various changes to eventually support openpgp keys in pgp-agent.
[gnupg.git] / g10 / photoid.c
index 8aa4ad4..1ac1218 100644 (file)
@@ -297,7 +297,7 @@ show_photos(const struct user_attribute *attrs,
 
   memset(&args,0,sizeof(args));
   args.pk=pk;
-  args.sk=sk;
+  args.pksk=sk;
   args.validity_info=get_validity_info(pk,uid);
   args.validity_string=get_validity_string(pk,uid);