aboutsummaryrefslogtreecommitdiffstats
path: root/sm/encrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-09-02 15:27:30 +0000
committerWerner Koch <[email protected]>2020-09-03 11:49:20 +0000
commita7d006293ec84532cc1972cd2f990198eadf1a1a (patch)
treee24545df6161f24cde5cbe4ca1e1153a5785b221 /sm/encrypt.c
parentscd: Add handling of "Algorithm Information" DO. (diff)
downloadgnupg-a7d006293ec84532cc1972cd2f990198eadf1a1a.tar.gz
gnupg-a7d006293ec84532cc1972cd2f990198eadf1a1a.zip
sm: Add arg ctrl to keydb_new.
* sm/keydb.c (keydb_new): Add arg and change all callers. -- This will be used later.
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 449b3b4f8..34a5e878b 100644
--- a/sm/encrypt.c
+++ b/sm/encrypt.c
@@ -614,7 +614,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 ();
+ kh = keydb_new (ctrl);
if (!kh)
{
log_error (_("failed to allocate keyDB handle\n"));