summaryrefslogtreecommitdiffstats
path: root/ffi/examples/configure.c
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-05-15 16:28:11 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-05-15 16:29:55 +0200
commita25ef6974e0ba3989f6205c19a1f9ccfc81db584 (patch)
tree4ce3b386923515a662051c40f67a135ee15681f6 /ffi/examples/configure.c
parent36e2d97ac013e023feb27df939c3f6d6e32d8669 (diff)
core, store, tool: Use realm instead of domain.
- Remove the domain parameter from core::Context. - Replace it with a realm to be passed in when opening a store. - For sq, merge store name and realm into the --store parameter. - Fixes #105.
Diffstat (limited to 'ffi/examples/configure.c')
-rw-r--r--ffi/examples/configure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/examples/configure.c b/ffi/examples/configure.c
index 23e243ac..37401047 100644
--- a/ffi/examples/configure.c
+++ b/ffi/examples/configure.c
@@ -24,7 +24,7 @@ main (int argc, char **argv)
sq_context_t ctx;
sq_keyserver_t ks;
- cfg = sq_context_configure ("org.sequoia-pgp.example");
+ cfg = sq_context_configure ();
sq_config_network_policy (cfg, SQ_NETWORK_POLICY_OFFLINE);
ctx = sq_config_build (cfg, &err);
if (ctx == NULL)