[Pkg-gnupg-commit] [gpgme] 328/412: tests: Set passphrase cb in t-encrypt-mixed
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Sep 22 21:27:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gpgme.
commit 151da95470f174dc770b2111890ad650a1697276
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Tue Sep 6 16:32:01 2016 +0200
tests: Set passphrase cb in t-encrypt-mixed
* tests/gpg/t-encrypt-mixed.c (main): Set passphrase cb.
--
This fixes the test when run without an agent and our
faked pinentry program.
---
tests/gpg/t-encrypt-mixed.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/gpg/t-encrypt-mixed.c b/tests/gpg/t-encrypt-mixed.c
index 6ad976a..488b1ce 100644
--- a/tests/gpg/t-encrypt-mixed.c
+++ b/tests/gpg/t-encrypt-mixed.c
@@ -59,6 +59,8 @@ main (int argc, char *argv[])
err = gpgme_data_new (&out);
fail_if_err (err);
+ gpgme_set_passphrase_cb (ctx, passphrase_cb, NULL);
+
/* A recipient for which we don't have a secret key */
err = gpgme_get_key (ctx, "D695676BDCEDCC2CDD6152BCFE180B1DA9E3B0B2",
&key[0], 0);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list