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.
This commit is contained in:
parent
e8cb143c83
commit
151da95470
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user