* key.c (gpgme_key_get_string_attr): Return NULL when asking for

an issuer with IDX > 0.  We don't support altIssuerNames for now.
This commit is contained in:
Werner Koch 2002-05-30 09:06:45 +00:00
parent 068ef9f0f3
commit e282d78413
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-30 Werner Koch <wk@gnupg.org>
* key.c (gpgme_key_get_string_attr): Return NULL when asking for
an issuer with IDX > 0. We don't support altIssuerNames for now.
2002-05-22 Werner Koch <wk@gnupg.org>
* engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext): Aehmm, added

View File

@ -972,7 +972,7 @@ gpgme_key_get_string_attr (GpgmeKey key, GpgmeAttr what,
val = key->issuer_serial;
break;
case GPGME_ATTR_ISSUER:
val = key->issuer_name;
val = idx? NULL : key->issuer_name;
break;
case GPGME_ATTR_CHAINID:
val = key->chain_id;