aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-12-18 12:26:40 +0000
committerNeal H. Walfield <[email protected]>2015-12-22 14:03:53 +0000
commitffe0b7a6dd6bfaec62f81f511b3caf08978bb269 (patch)
treeed1ecbf439993360059a20cbd4c9aa0739ea4a89 /g10/sign.c
parentgpg: Improve check for ambiguous keys. (diff)
downloadgnupg-ffe0b7a6dd6bfaec62f81f511b3caf08978bb269.tar.gz
gnupg-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 <[email protected]>
Diffstat (limited to 'g10/sign.c')
-rw-r--r--g10/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/sign.c b/g10/sign.c
index baa0068f4..79a5f3b8a 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -773,7 +773,7 @@ sign_file (ctrl_t ctrl, strlist_t filenames, int detached, strlist_t locusr,
goto leave;
if (encryptflag
- && (rc=build_pk_list (ctrl, remusr, &pk_list, PUBKEY_USAGE_ENC)))
+ && (rc=build_pk_list (ctrl, remusr, &pk_list)))
goto leave;
/* prepare iobufs */