2003-04-25 Marcus Brinkmann <marcus@g10code.de>
* key.c (gpgme_key_get_string_attr): Fix validity attribute.
This commit is contained in:
parent
f0ee6af9f8
commit
8c359e5416
@ -1,3 +1,7 @@
|
||||
2003-04-25 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* key.c (gpgme_key_get_string_attr): Fix validity attribute.
|
||||
|
||||
2003-04-24 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpgme.h (struct _gpgme_op_genkey_result): New structure.
|
||||
|
@ -739,7 +739,7 @@ gpgme_key_get_string_attr (GpgmeKey key, GpgmeAttr what,
|
||||
return uid ? uid->comment_part : NULL;
|
||||
|
||||
case GPGME_ATTR_VALIDITY:
|
||||
return validity_to_string (key->otrust);
|
||||
return uid ? validity_to_string (uid->validity) : NULL;
|
||||
|
||||
case GPGME_ATTR_KEY_CAPS:
|
||||
return subkey ? capabilities_to_string (subkey) : NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user