From 2d34c27f5a7d28d60be26c6dd3dee0f6bbe37788 Mon Sep 17 00:00:00 2001 From: Damien Stuart Date: Wed, 28 Jan 2009 03:38:42 +0000 Subject: [PATCH] Fixed flag on gpgme_keylist_next that was forcing only private keys for recipient. Fixed typo in docs. git-svn-id: file:///home/mbr/svn/fwknop/trunk@49 510a4753-2344-4c79-9c09-4d669213fbeb --- doc/libfko.texi | 2 +- fko/gpgme_funcs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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). */