1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* pkclist.c (build_pk_list): Fix bug that allowed a key to be selected

twice in batch mode if one instance was the default recipient and the
other was an encrypt-to.  Noted by Stefan Bellon.

* parse-packet.c (dump_sig_subpkt): Show data in trust and regexp sig
subpackets.

* keyedit.c (keyedit_menu): Use new function real_uids_left to prevent
deleting the last real (i.e. non-attribute) uid.  Again, according to the
attribute draft. (menu_showphoto): Make another string translatable.
This commit is contained in:
David Shaw 2002-04-13 04:32:03 +00:00
parent 5005434c7e
commit 9d7b26c784
4 changed files with 52 additions and 6 deletions

View file

@ -768,10 +768,16 @@ dump_sig_subpkt( int hashed, int type, int critical,
printf("%sexportable", *buffer? "":"not ");
break;
case SIGSUBPKT_TRUST:
p = "trust signature";
if(length!=2)
p="[invalid trust signature]";
else
printf("trust signature of level %d, amount %d",buffer[0],buffer[1]);
break;
case SIGSUBPKT_REGEXP:
p = "regular expression";
if(!length)
p="[invalid regexp]";
else
printf("regular expression: \"%s\"",buffer);
break;
case SIGSUBPKT_REVOCABLE:
if( length )