summaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-encrypt-mixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gpg/t-encrypt-mixed.c')
-rw-r--r--tests/gpg/t-encrypt-mixed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpg/t-encrypt-mixed.c b/tests/gpg/t-encrypt-mixed.c
index 4cc9d6a6..5040148c 100644
--- a/tests/gpg/t-encrypt-mixed.c
+++ b/tests/gpg/t-encrypt-mixed.c
@@ -60,6 +60,7 @@ main (void)
err = gpgme_data_new (&out);
fail_if_err (err);
+ gpgme_set_pinentry_mode (ctx, GPGME_PINENTRY_MODE_LOOPBACK);
gpgme_set_passphrase_cb (ctx, passphrase_cb, NULL);
/* A recipient for which we don't have a secret key */