From: Marcus Brinkmann Date: Wed, 29 Jan 2003 13:52:08 +0000 (+0000) Subject: 2003-01-29 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~717 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=36aadc4f5c6fcedbad5f139de3729612b07d5e65;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/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index e0e841e..df950b0 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/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/trunk/gpgme/key.c b/trunk/gpgme/key.c index dcd5771..2a2af91 100644 --- a/trunk/gpgme/key.c +++ b/trunk/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;