aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-eventloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gpg/t-eventloop.c')
-rw-r--r--tests/gpg/t-eventloop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gpg/t-eventloop.c b/tests/gpg/t-eventloop.c
index 43e2c09b..7e8be3c3 100644
--- a/tests/gpg/t-eventloop.c
+++ b/tests/gpg/t-eventloop.c
@@ -168,6 +168,8 @@ main (int argc, char *argv[])
gpgme_key_t key[3] = { NULL, NULL, NULL };
int i;
+ init_gpgme (GPGME_PROTOCOL_OpenPGP);
+
for (i = 0; i < FDLIST_MAX; i++)
fdlist[i].fd = -1;