aboutsummaryrefslogtreecommitdiffstats
path: root/sm/keydb.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-08-06 12:59:37 +0000
committerWerner Koch <[email protected]>2019-08-06 13:01:21 +0000
commit1f980d23af8b818ed8246ec6bf13b9c61b963ec0 (patch)
treecc6d66cf92be79457c63a7fb5734a4802e2457da /sm/keydb.c
parenttools: New option --keyboxd for gpg-connect-agent. (diff)
downloadgnupg-1f980d23af8b818ed8246ec6bf13b9c61b963ec0.tar.gz
gnupg-1f980d23af8b818ed8246ec6bf13b9c61b963ec0.zip
kbx: Allow writing using a estream.
* kbx/keybox-file.c (_keybox_write_header_blob): New optional arg stream. Change callers. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/keydb.c')
-rw-r--r--sm/keydb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/keydb.c b/sm/keydb.c
index 53e3cf887..cf643abcd 100644
--- a/sm/keydb.c
+++ b/sm/keydb.c
@@ -224,7 +224,7 @@ maybe_create_keybox (char *filename, int force, int *r_created)
/* Make sure that at least one record is in a new keybox file, so
that the detection magic for OpenPGP keyboxes works the next time
it is used. */
- rc = _keybox_write_header_blob (fp, 0);
+ rc = _keybox_write_header_blob (fp, NULL, 0);
if (rc)
{
fclose (fp);