aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gpg/t-edit.c')
-rw-r--r--tests/gpg/t-edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gpg/t-edit.c b/tests/gpg/t-edit.c
index d2d2e1b8..cefcbc41 100644
--- a/tests/gpg/t-edit.c
+++ b/tests/gpg/t-edit.c
@@ -113,6 +113,8 @@ main (int argc, char **argv)
const char *pattern = "Alpha";
char *agent_info;
+ init_gpgme (GPGME_PROTOCOL_OpenPGP);
+
err = gpgme_new (&ctx);
fail_if_err (err);
err = gpgme_data_new (&out);
@@ -141,5 +143,3 @@ main (int argc, char **argv)
return 0;
}
-
-