mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
See ChangeLog: Thu Feb 10 11:39:41 CET 2000 Werner Koch
This commit is contained in:
parent
673a50de0f
commit
24421d0501
3 changed files with 13 additions and 3 deletions
|
@ -351,6 +351,7 @@ list_keyblock( KBNODE keyblock, int secret )
|
|||
else if( opt.list_sigs && node->pkt->pkttype == PKT_SIGNATURE ) {
|
||||
PKT_signature *sig = node->pkt->pkt.signature;
|
||||
int sigrc;
|
||||
char *sigstr;
|
||||
|
||||
if( !any ) { /* no user id, (maybe a revocation follows)*/
|
||||
if( sig->sig_class == 0x20 )
|
||||
|
@ -368,11 +369,11 @@ list_keyblock( KBNODE keyblock, int secret )
|
|||
|
||||
if( sig->sig_class == 0x20 || sig->sig_class == 0x28
|
||||
|| sig->sig_class == 0x30 )
|
||||
fputs("rev", stdout);
|
||||
sigstr = "rev";
|
||||
else if( (sig->sig_class&~3) == 0x10 )
|
||||
fputs("sig", stdout);
|
||||
sigstr = "sig";
|
||||
else if( sig->sig_class == 0x18 )
|
||||
fputs("sig", stdout);
|
||||
sigstr = "sig";
|
||||
else {
|
||||
if( opt.with_colons )
|
||||
printf("sig::::::::::%02x:\n",sig->sig_class );
|
||||
|
@ -395,6 +396,7 @@ list_keyblock( KBNODE keyblock, int secret )
|
|||
rc = 0;
|
||||
sigrc = ' ';
|
||||
}
|
||||
fputs( sigstr, stdout );
|
||||
if( opt.with_colons ) {
|
||||
putchar(':');
|
||||
if( sigrc != ' ' )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue