summaryrefslogtreecommitdiffstats
path: root/sm/import.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-09-02 17:27:30 +0200
committerWerner Koch <wk@gnupg.org>2020-09-03 13:49:20 +0200
commita7d006293ec84532cc1972cd2f990198eadf1a1a (patch)
treee24545df6161f24cde5cbe4ca1e1153a5785b221 /sm/import.c
parentscd: Add handling of "Algorithm Information" DO. (diff)
downloadgnupg2-a7d006293ec84532cc1972cd2f990198eadf1a1a.tar.xz
gnupg2-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/import.c')
-rw-r--r--sm/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/import.c b/sm/import.c
index a4dd671f8..988d127d1 100644
--- a/sm/import.c
+++ b/sm/import.c
@@ -407,7 +407,7 @@ reimport_one (ctrl_t ctrl, struct stats_s *stats, int in_fd)
ksba_cert_t cert = NULL;
unsigned int flags;
- kh = keydb_new ();
+ kh = keydb_new (ctrl);
if (!kh)
{
err = gpg_error (GPG_ERR_ENOMEM);;