summaryrefslogtreecommitdiffstats
path: root/sm/export.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/export.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/export.c')
-rw-r--r--sm/export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/export.c b/sm/export.c
index 115d79b9e..bba24f0b1 100644
--- a/sm/export.c
+++ b/sm/export.c
@@ -149,7 +149,7 @@ gpgsm_export (ctrl_t ctrl, strlist_t names, estream_t stream)
goto leave;
}
- hd = keydb_new ();
+ hd = keydb_new (ctrl);
if (!hd)
{
log_error ("keydb_new failed\n");
@@ -338,7 +338,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, estream_t stream, int rawmode)
void *data;
size_t datalen;
- hd = keydb_new ();
+ hd = keydb_new (ctrl);
if (!hd)
{
log_error ("keydb_new failed\n");