aboutsummaryrefslogtreecommitdiffstats
path: root/sm/encrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-11-10 14:38:14 +0000
committerWerner Koch <[email protected]>2016-11-10 16:04:03 +0000
commitc8044c6e335f044d7386b9e8869bc4a0d3adff70 (patch)
tree4bc00f75f37aa63f7e07a1133282a1570c3d8ac8 /sm/encrypt.c
parentgpgscm: Recover cells from the list of recently allocated cells. (diff)
downloadgnupg-c8044c6e335f044d7386b9e8869bc4a0d3adff70.tar.gz
gnupg-c8044c6e335f044d7386b9e8869bc4a0d3adff70.zip
sm: Remove unused arg SECRET from keydb functions.
* sm/keydb.c (struct resource_item): Remove field 'secret'. (keydb_add_resource): Remove arg 'secret' and change all callers. (keydb_new): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/encrypt.c')
-rw-r--r--sm/encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/encrypt.c b/sm/encrypt.c
index 8555f4acd..2c664f83a 100644
--- a/sm/encrypt.c
+++ b/sm/encrypt.c
@@ -336,7 +336,7 @@ gpgsm_encrypt (ctrl_t ctrl, certlist_t recplist, int data_fd, estream_t out_fp)
count++;
audit_log_i (ctrl->audit, AUDIT_GOT_RECIPIENTS, count);
- kh = keydb_new (0);
+ kh = keydb_new ();
if (!kh)
{
log_error (_("failed to allocate keyDB handle\n"));