From: Marcus Brinkmann Date: Wed, 29 Jan 2003 13:52:08 +0000 (+0000) Subject: 2003-01-29 Marcus Brinkmann X-Git-Tag: gpgme-0-4-1~119 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a5c6d0de25c4331e5a85343a9a5d6fe62041c46;p=gpgme.git 2003-01-29 Marcus Brinkmann * key.c (gpgme_key_sig_get_string_attr): Use validity_to_string instead otrust_to_string to calculate validity. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index e0e841e..df950b0 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2003-01-29 Marcus Brinkmann + + * key.c (gpgme_key_sig_get_string_attr): Use validity_to_string + instead otrust_to_string to calculate validity. + 2003-01-19 Miguel Coca * w32-io.c (_gpgme_io_select): Add missing argument in calls to diff --git a/gpgme/key.c b/gpgme/key.c index dcd5771..2a2af91 100644 --- a/gpgme/key.c +++ b/gpgme/key.c @@ -957,7 +957,7 @@ gpgme_key_get_string_attr (GpgmeKey key, GpgmeAttr what, return uid ? uid->comment_part : NULL; case GPGME_ATTR_VALIDITY: - return otrust_to_string (key->otrust); + return validity_to_string (key->otrust); case GPGME_ATTR_KEY_CAPS: return subkey ? capabilities_to_string (subkey) : NULL;