gpgme/tests
Werner Koch b8159eadb5
core: New API functions gpgme_set_sender, gpgme_get_sender.
* src/context.h (struct gpgme_context): Add field 'sender'.
* src/gpgme.c: Include mbox-util.h.
(gpgme_release): Free SENDER.
(gpgme_set_sender): New.
(gpgme_get_sender): New.
* src/gpgme.def, src/libgpgme.vers: Add new functions.

* src/engine-gpg.c (append_args_from_sender): New.
(gpg_encrypt_sign, gpg_sign): Call append_args_from_sender.
(gpg_verify): Add arg CTX.  Call append_args_from_sender/
* src/engine-gpgsm.c (gpgsm_verify): Add dummy arg CTX.
* src/engine-uiserver.c (uiserver_verify): Ditto.
* src/engine.c (_gpgme_engine_op_verify): Add arg CTX.
* src/verify.c (verify_start): Pass CTX to engine function.

* tests/gpg/t-verify.c (main): Add some checks for new functions.
* tests/run-sign.c (main): Add option --sender.
* tests/run-verify.c (main): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-10-25 17:28:01 +02:00
..
gpg core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
gpgsm tests: Check data after decryption 2016-09-23 16:04:33 +02:00
opassuan tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 move some file encodings to UTF-8 2016-09-23 16:08:33 +02:00
Makefile.am core: New function gpgme_op_tofu_policy 2016-09-14 20:21:19 +02:00
run-decrypt.c tests: Add new test tool run-decrypt 2016-06-24 11:33:05 +02:00
run-encrypt.c core: Make use of the "size-hint" in engine-gpg. 2016-08-12 15:32:31 +02:00
run-export.c Add an export secret key feature. 2015-08-24 12:41:24 +02:00
run-genkey.c core: New function gpgme_op_revuid. 2016-09-14 12:42:12 +02:00
run-identify.c tests: Add new test tool run-identify. 2016-06-21 16:18:00 +02:00
run-import.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
run-keylist.c core,cpp: Extend the TOFU information. 2016-09-07 09:26:11 +02:00
run-keysign.c core: New function gpgme_op_keysign. 2016-09-14 18:59:55 +02:00
run-sign.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
run-support.h tests: Use gpgme_io_write in passhrase callbacks. 2016-09-13 20:46:41 +02:00
run-tofu.c core: New function gpgme_op_tofu_policy 2016-09-14 20:21:19 +02:00
run-verify.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
start-stop-agent Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
t-engine-info.c core: Add new items for gpgme_get_dirinfo. 2016-08-22 16:57:51 +02:00
t-version.c Change the various version numbers to the new scheme. 2013-02-26 17:10:18 +01:00