2005-09-29 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 29 Sep 2005 17:58:00 +0000 (17:58 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 29 Sep 2005 17:58:00 +0000 (17:58 +0000)
* 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.

gpgme/ChangeLog
gpgme/keylist.c

index 37334e4748ad27daf0c7e3d3b5d89a397c67bfb9..efc57e99d9d07893cf4fcd9537bb23197b4e6f72 100644 (file)
@@ -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  <wk@g10code.com>
 
index 8f9cf3750001f3bb69c21f27f74f7c4fac74a8cd..e786fe1733f438f0cdad01630c1268c9100d5af3 100644 (file)
@@ -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++;
     }