2002-12-23 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 23 Dec 2002 22:31:03 +0000 (22:31 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 23 Dec 2002 22:31:03 +0000 (22:31 +0000)
commit15de808feaebbfbd7f62f18b6e1a15b4dbb9f164
treeff0366cd2db55c687913103604af5a9b04172fca
parenta0fc64745fef6688e16c50cefab5dbcc6a55848c
2002-12-23  Marcus Brinkmann  <marcus@g10code.de>

* key.c (gpgme_key_get_string_attr): Don't accept GPGME_ATTR_IS_SECRET.
(otrust_to_string): New function.
(gpgme_key_get_as_xml): Use it.
(validity_to_string): New function.
(gpgme_key_get_string_attr): Beautify using above functions.
(gpgme_key_get_ulong_attr): Likewise.
gpgme/ChangeLog
gpgme/key.c