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)
commit7d7b242b8d11c274ca13c68170f8ee5d8568457a
tree646041d46380423106b9c7d61880578e0073caca
parentc028a4388eafcd467577b1a57d0ab207b9f38d36
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.
trunk/gpgme/ChangeLog
trunk/gpgme/key.c