summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/examples/decrypt-with.c
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp-ffi/examples/decrypt-with.c')
-rw-r--r--openpgp-ffi/examples/decrypt-with.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/examples/decrypt-with.c b/openpgp-ffi/examples/decrypt-with.c
index 0f2662ab..8343f34d 100644
--- a/openpgp-ffi/examples/decrypt-with.c
+++ b/openpgp-ffi/examples/decrypt-with.c
@@ -210,7 +210,7 @@ main (int argc, char **argv)
};
plaintext = pgp_decryptor_new (&err, source,
get_public_keys_cb, decrypt_cb,
- check_cb, &cookie, 0);
+ check_cb, NULL, &cookie, 0);
if (! plaintext)
error (1, 0, "pgp_decryptor_new: %s", pgp_error_to_string (err));