From 3f6853c2e3da7f1a738b7e26e145682f7e2d33ff Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 29 Sep 2005 17:54:25 +0000 Subject: [PATCH] 2005-09-29 Marcus Brinkmann * gpgme.h (struct _gpgme_key): Add field is_qualified. (struct _gpgme_subkey): Likewise. --- gpgme/ChangeLog | 5 +++++ gpgme/gpgme.h | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 1fb35ab..37334e4 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2005-09-29 Marcus Brinkmann + + * gpgme.h (struct _gpgme_key): Add field is_qualified. + (struct _gpgme_subkey): Likewise. + 2005-09-23 Werner Koch * w32-io.c (_gpgme_io_pipe): Removed use of environment variable diff --git a/gpgme/gpgme.h b/gpgme/gpgme.h index 0893096..5687171 100644 --- a/gpgme/gpgme.h +++ b/gpgme/gpgme.h @@ -465,8 +465,11 @@ struct _gpgme_subkey /* True if subkey can be used for authentication. */ unsigned int can_authenticate : 1; + /* True if subkey is qualified for signatures according to German law. */ + unsigned int is_qualified : 1; + /* Internal to GPGME, do not use. */ - unsigned int _unused : 23; + unsigned int _unused : 22; /* Public key algorithm supported by this subkey. */ gpgme_pubkey_algo_t pubkey_algo; @@ -626,8 +629,11 @@ struct _gpgme_key /* True if key can be used for authentication. */ unsigned int can_authenticate : 1; + /* True if subkey is qualified for signatures according to German law. */ + unsigned int is_qualified : 1; + /* Internal to GPGME, do not use. */ - unsigned int _unused : 23; + unsigned int _unused : 22; /* This is the protocol supported by this key. */ gpgme_protocol_t protocol; -- 2.26.2