mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
more bug fixesand some warning cleanups
This commit is contained in:
parent
2874670be9
commit
d4cd7a3d4b
23 changed files with 164 additions and 61 deletions
|
@ -166,12 +166,12 @@ print_key_data( PKT_public_key *pk, u32 *keyid )
|
|||
static void
|
||||
print_capabilities (PKT_public_key *pk, PKT_secret_key *sk, KBNODE keyblock)
|
||||
{
|
||||
unsigned int usage = pk? pk->pubkey_usage : sk->pubkey_usage;
|
||||
unsigned int use = pk? pk->pubkey_usage : sk->pubkey_usage;
|
||||
|
||||
if ( usage & PUBKEY_USAGE_ENC ) {
|
||||
if ( use & PUBKEY_USAGE_ENC ) {
|
||||
putchar ('e');
|
||||
}
|
||||
if ( usage & PUBKEY_USAGE_SIG ) {
|
||||
if ( use & PUBKEY_USAGE_SIG ) {
|
||||
putchar ('s');
|
||||
putchar ('c');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue