summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJustus Winter <justus@pep-project.org>2017-12-06 11:51:42 +0100
committerJustus Winter <justus@pep-project.org>2017-12-06 11:53:01 +0100
commitb0fd3726cf4bc9cfd1651d36a624103e65f3f3e3 (patch)
treefd537a0bbf97ee00cc473d33ea8a0bcf27e52899 /examples
parent1c98b651ed00e4638be31206f790f06a4fb5c8af (diff)
Add 'domain' to the context.
- The domain uniquely identifies the application. It should be a property of the context.
Diffstat (limited to 'examples')
-rw-r--r--examples/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.c b/examples/example.c
index 81209a7e..22bace0f 100644
--- a/examples/example.c
+++ b/examples/example.c
@@ -22,7 +22,7 @@ main (int argc, char **argv)
if (argc != 2)
error (1, 0, "Usage: %s <file>", argv[0]);
- ctx = sq_context_new(NULL, NULL);
+ ctx = sq_context_new("org.sequoia-pgp.example", NULL, NULL);
if (ctx == NULL)
error (1, 0, "Initializing sequoia failed.");