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
This commit is contained in:
Damien Stuart
2009-01-28 03:38:42 +00:00
parent 7951d327e8
commit 2d34c27f5a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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).
*/