From a7629514b4176bb03cedde357fd802e207dd737a Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 29 Sep 2005 17:58:00 +0000 Subject: [PATCH] 2005-09-29 Marcus Brinkmann * gpgme.h (struct _gpgme_key): Add field is_qualified. (struct _gpgme_subkey): Likewise. * keylist.c (set_subkey_capability, set_mainkey_capability): Set field is_qualified. --- trunk/gpgme/ChangeLog | 2 ++ trunk/gpgme/keylist.c | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 37334e4..efc57e9 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -2,6 +2,8 @@ * gpgme.h (struct _gpgme_key): Add field is_qualified. (struct _gpgme_subkey): Likewise. + * keylist.c (set_subkey_capability, set_mainkey_capability): Set + field is_qualified. 2005-09-23 Werner Koch diff --git a/trunk/gpgme/keylist.c b/trunk/gpgme/keylist.c index 8f9cf37..e786fe1 100644 --- a/trunk/gpgme/keylist.c +++ b/trunk/gpgme/keylist.c @@ -246,6 +246,10 @@ set_subkey_capability (gpgme_subkey_t subkey, const char *src) subkey->can_authenticate = 1; break; + case 'q': + subkey->is_qualified = 1; + break; + case 'd': subkey->disabled = 1; break; @@ -294,6 +298,11 @@ set_mainkey_capability (gpgme_key_t key, const char *src) case 'A': key->can_authenticate = 1; break; + + case 'q': + case 'Q': + key->is_qualified = 1; + break; } src++; } -- 2.26.2