aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-01-29 13:52:08 +0000
committerMarcus Brinkmann <[email protected]>2003-01-29 13:52:08 +0000
commit8a5c6d0de25c4331e5a85343a9a5d6fe62041c46 (patch)
tree456de936ac82e5f07034fc3f2873012b54fc9293
parent2003-01-19 Miguel Coca <[email protected]> (diff)
downloadgpgme-8a5c6d0de25c4331e5a85343a9a5d6fe62041c46.tar.gz
gpgme-8a5c6d0de25c4331e5a85343a9a5d6fe62041c46.zip
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.
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;