diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-12-18 13:26:40 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-12-22 15:03:53 +0100 |
commit | ffe0b7a6dd6bfaec62f81f511b3caf08978bb269 (patch) | |
tree | ed1ecbf439993360059a20cbd4c9aa0739ea4a89 /g10/encrypt.c | |
parent | gpg: Improve check for ambiguous keys. (diff) | |
download | gnupg2-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.c | 2 |
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; |