summaryrefslogtreecommitdiff
path: root/trust/extract-jks.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/extract-jks.c')
-rw-r--r--trust/extract-jks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/extract-jks.c b/trust/extract-jks.c
index 2c78a51..987ea26 100644
--- a/trust/extract-jks.c
+++ b/trust/extract-jks.c
@@ -322,7 +322,7 @@ p11_extract_jks_cacerts (P11KitIter *iter,
p11_buffer_init (&buffer, 1024 * 10);
ret = prepare_jks_buffer (iter, ex, &buffer);
if (ret) {
- file = p11_save_open_file (ex->destination, ex->flags);
+ file = p11_save_open_file (ex->destination, NULL, ex->flags);
ret = p11_save_write_and_finish (file, buffer.data, buffer.len);
}