diff --git a/doc/libfko.texi b/doc/libfko.texi index f6abc3c4..1061521a 100644 --- a/doc/libfko.texi +++ b/doc/libfko.texi @@ -542,7 +542,7 @@ decrypted, decoded, parsed, and stored in the context ready for retrieval. The @code{fko_new_with_data} function returns the error code @code{FKO_SUCCESS} if the context was successfully created. If any of the -intermediate steps in parsing the data, validating the @acronym{SSPA} message +intermediate steps in parsing the data, validating the @acronym{SPA} message digest, or any other internal action fails, then the appropriate error code is returned. @end deftypefun diff --git a/fko/gpgme_funcs.c b/fko/gpgme_funcs.c index 47357fda..1af3b3a8 100644 --- a/fko/gpgme_funcs.c +++ b/fko/gpgme_funcs.c @@ -124,7 +124,7 @@ get_recip_key(gpgme_key_t *mykey, const char *recip) return(gpg_err_code(err)); } - err = gpgme_op_keylist_start(list_ctx, recip, 1); + err = gpgme_op_keylist_start(list_ctx, recip, 0); /* Grab the first key in the list (we hope it is the only one). */