aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gpgme/ChangeLog5
-rw-r--r--gpgme/key.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index e0e841e4..df950b09 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-29 Marcus Brinkmann <[email protected]>
+
+ * key.c (gpgme_key_sig_get_string_attr): Use validity_to_string
+ instead otrust_to_string to calculate validity.
+
2003-01-19 Miguel Coca <[email protected]>
* w32-io.c (_gpgme_io_select): Add missing argument in calls to
diff --git a/gpgme/key.c b/gpgme/key.c
index dcd57714..2a2af91c 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;