1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

tests/openpgp: Reimplement 'pinentry.sh' in c.

* tests/openpgp/Makefile.am: Build new program.
* tests/openpgp/defs.inc: Use the new program.
* tests/openpgp/fake-pinentry.c: New file.
--
Building an executable that does not require an interpreter makes it
easier to use on Windows.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-01-22 11:47:58 +01:00
parent 785a7f463e
commit 01dcc2cf2f
3 changed files with 60 additions and 1 deletions

View file

@ -222,7 +222,7 @@ GPG_CONNECT_AGENT="../../tools/gpg-connect-agent"
GPGCONF="../../tools/gpgconf"
GPG_PRESET_PASSPHRASE="../../agent/gpg-preset-passphrase"
MKTDATA="../../tools/mk-tdata"
PINENTRY="$(cd $srcdir && /bin/pwd)/pinentry.sh"
PINENTRY="$(/bin/pwd)/fake-pinentry${EXEEXT}"
# Default to empty passphrase for pinentry.sh
PINENTRY_USER_DATA=