From: Marcus Brinkmann Date: Sun, 4 May 2003 20:49:44 +0000 (+0000) Subject: 2003-05-04 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~635 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78641d971481498808d3d8bc2cea9b2b1d504b5a;p=gpgme.git 2003-05-04 Marcus Brinkmann * gpgme.texi (Listing Keys): Document what happens if key is not found. --- diff --git a/trunk/doc/ChangeLog b/trunk/doc/ChangeLog index 54fb7f8..01533fb 100644 --- a/trunk/doc/ChangeLog +++ b/trunk/doc/ChangeLog @@ -1,5 +1,8 @@ 2003-05-04 Marcus Brinkmann + * gpgme.texi (Listing Keys): Document what happens if key is not + found. + * gpgme.texi (Importing Keys): Fix cut and paste error. 2003-04-30 Marcus Brinkmann diff --git a/trunk/doc/gpgme.texi b/trunk/doc/gpgme.texi index 8782f4d..9fe30d6 100644 --- a/trunk/doc/gpgme.texi +++ b/trunk/doc/gpgme.texi @@ -2174,6 +2174,9 @@ key from the crypto backend and replace the key in the cache, if any. If @var{secret} is true, get the secret key. The currently active keylist mode is used to retrieve the key. +If the key is not found in the keyring, @code{gpgme_get_key} returns +@code{GPGME_No_Error} and *@var{r_key} will be set to @code{NULL}. + The function returns @code{GPGME_Invalid_Value} if @var{ctx} or @var{r_key} is not a valid pointer, @code{GPGME_Invalid_Key} if @var{fpr} is not a fingerprint or key ID, @code{GPGME_Out_Of_Core} if