summaryrefslogtreecommitdiffstats
path: root/g10/encrypt.c
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@g10code.com>2015-12-18 13:26:40 +0100
committerNeal H. Walfield <neal@g10code.com>2015-12-22 15:03:53 +0100
commitffe0b7a6dd6bfaec62f81f511b3caf08978bb269 (patch)
treeed1ecbf439993360059a20cbd4c9aa0739ea4a89 /g10/encrypt.c
parentgpg: Improve check for ambiguous keys. (diff)
downloadgnupg2-ffe0b7a6dd6bfaec62f81f511b3caf08978bb269.tar.xz
gnupg2-ffe0b7a6dd6bfaec62f81f511b3caf08978bb269.zip
gpg: Remove unused parameter.
* g10/pkclist.c (build_pk_list): Remove parameter use, which is always called set to PUBKEY_USAGE_ENC. Update callers. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
Diffstat (limited to 'g10/encrypt.c')
-rw-r--r--g10/encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/encrypt.c b/g10/encrypt.c
index 4432f293b..bca1123a4 100644
--- a/g10/encrypt.c
+++ b/g10/encrypt.c
@@ -500,7 +500,7 @@ encrypt_crypt (ctrl_t ctrl, int filefd, const char *filename,
pk_list = provided_keys;
else
{
- if ((rc = build_pk_list (ctrl, remusr, &pk_list, PUBKEY_USAGE_ENC)))
+ if ((rc = build_pk_list (ctrl, remusr, &pk_list)))
{
release_progress_context (pfx);
return rc;