diff options
author | Marcus Brinkmann <[email protected]> | 2003-07-31 16:01:13 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2003-07-31 16:01:13 +0000 |
commit | 82f7a68aa2027a54b8317f777c48a9c7d7e715a0 (patch) | |
tree | 785f5bb6cd39ba2323048e0d2a9de6f84e0552f0 /doc | |
parent | 2003-07-31 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-82f7a68aa2027a54b8317f777c48a9c7d7e715a0.tar.gz gpgme-82f7a68aa2027a54b8317f777c48a9c7d7e715a0.zip |
doc/
2003-07-31 Marcus Brinkmann <[email protected]>
* gpgme.texi (Listing Keys): Document GPG_ERR_AMBIGUOUS_NAME for
gpgme_get_key.
gpgme/
2003-07-31 Marcus Brinkmann <[email protected]>
* keylist.c (gpgme_get_key): Check if there is more than one key
listed, and return GPG_ERR_AMBIGUOUS_NAME in that case.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/gpgme.texi | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 115ae61e..60336a8f 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-31 Marcus Brinkmann <[email protected]> + + * gpgme.texi (Listing Keys): Document GPG_ERR_AMBIGUOUS_NAME for + gpgme_get_key. + 2003-07-29 Marcus Brinkmann <[email protected]> * Makefile.am (EXTRA_DIST): Remove variable. diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 916c68e2..4a97e8de 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -1144,7 +1144,8 @@ were configured to exclude support for this engine, or because the engine is not installed properly. @item GPG_ERR_AMBIGUOUS_NAME -This value indicates that a user ID did not specify a unique key. +This value indicates that a user ID or other specifier did not specify +a unique key. @item GPG_ERR_WRONG_KEY_USAGE This value indicates that a key is not used appropriately. @@ -2377,8 +2378,9 @@ the error code @code{GPG_ERR_NO_ERROR} and *@var{r_key} will be set to The function returns the error code @code{GPG_ERR_INV_VALUE} if @var{ctx} or @var{r_key} is not a valid pointer or @var{fpr} is not a -fingerprint or key ID, and @code{GPG_ERR_ENOMEM} if at some time -during the operation there was not enough memory available. +fingerprint or key ID, @code{GPG_ERR_AMBIGUOUS_NAME} if the key ID was +not a unique specifier for a key, and @code{GPG_ERR_ENOMEM} if at some +time during the operation there was not enough memory available. @end deftypefun |