mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Add features packet and fixes MIPS3.
This commit is contained in:
parent
93fe596356
commit
c287a8d05b
12 changed files with 66 additions and 2 deletions
|
@ -843,7 +843,12 @@ dump_sig_subpkt( int hashed, int type, int critical,
|
|||
printf("%02X", buffer[i] );
|
||||
}
|
||||
break;
|
||||
case SIGSUBPKT_PRIV_ADD_SIG:
|
||||
case SIGSUBPKT_FEATURES:
|
||||
fputs ( "features:", stdout );
|
||||
for( i=0; i < length; i++ )
|
||||
printf(" %02X", buffer[i] );
|
||||
break;
|
||||
case SIGSUBPKT_PRIV_ADD_SIG: /* gnupg private - to be removed */
|
||||
p = "signs additional user ID";
|
||||
break;
|
||||
default: p = "?"; break;
|
||||
|
@ -889,6 +894,7 @@ parse_one_sig_subpkt( const byte *buffer, size_t n, int type )
|
|||
case SIGSUBPKT_PREF_SYM:
|
||||
case SIGSUBPKT_PREF_HASH:
|
||||
case SIGSUBPKT_PREF_COMPR:
|
||||
case SIGSUBPKT_FEATURES:
|
||||
case SIGSUBPKT_POLICY:
|
||||
return 0;
|
||||
case SIGSUBPKT_PRIMARY_UID:
|
||||
|
@ -925,6 +931,7 @@ can_handle_critical( const byte *buffer, size_t n, int type )
|
|||
case SIGSUBPKT_PREF_SYM:
|
||||
case SIGSUBPKT_PREF_HASH:
|
||||
case SIGSUBPKT_PREF_COMPR:
|
||||
case SIGSUBPKT_FEATURES:
|
||||
case SIGSUBPKT_KEY_FLAGS:
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue