aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-import.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/gpg/t-import.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gpg/t-import.c b/tests/gpg/t-import.c
index 3733d5c6..22528e01 100644
--- a/tests/gpg/t-import.c
+++ b/tests/gpg/t-import.c
@@ -203,6 +203,8 @@ main (int argc, char *argv[])
const char *pubkey_1_asc = make_filename ("pubkey-1.asc");
const char *seckey_1_asc = make_filename ("seckey-1.asc");
+ init_gpgme (GPGME_PROTOCOL_OpenPGP);
+
err = gpgme_new (&ctx);
fail_if_err (err);