diff options
author | Justus Winter <justus@pep-project.org> | 2017-12-06 11:51:42 +0100 |
---|---|---|
committer | Justus Winter <justus@pep-project.org> | 2017-12-06 11:53:01 +0100 |
commit | b0fd3726cf4bc9cfd1651d36a624103e65f3f3e3 (patch) | |
tree | fd537a0bbf97ee00cc473d33ea8a0bcf27e52899 /examples | |
parent | 1c98b651ed00e4638be31206f790f06a4fb5c8af (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.c | 2 |
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."); |