From 8a5c6d0de25c4331e5a85343a9a5d6fe62041c46 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 29 Jan 2003 13:52:08 +0000 Subject: [PATCH] 2003-01-29 Marcus Brinkmann * key.c (gpgme_key_sig_get_string_attr): Use validity_to_string instead otrust_to_string to calculate validity. --- gpgme/ChangeLog | 5 +++++ gpgme/key.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.26.2