diff options
Diffstat (limited to 'sm/encrypt.c')
-rw-r--r-- | sm/encrypt.c | 2 |
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")); |