aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm/t-export.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gpgsm/t-export.c')
-rw-r--r--tests/gpgsm/t-export.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gpgsm/t-export.c b/tests/gpgsm/t-export.c
index a2355e0c..ce7dadb8 100644
--- a/tests/gpgsm/t-export.c
+++ b/tests/gpgsm/t-export.c
@@ -34,6 +34,9 @@ main (int argc, char *argv[])
gpgme_error_t err;
gpgme_data_t out;
const char *pattern[] = { "DFN Top Level Certification Authority", NULL };
+
+ init_gpgme (GPGME_PROTOCOL_CMS);
+
err = gpgme_new (&ctx);
fail_if_err (err);
gpgme_set_protocol (ctx, GPGME_PROTOCOL_CMS);