gpgme/src
Werner Koch dd21ec997c
core: Support GPGME_AUDITLOG_DIAG for gpgsm.
* src/engine-gpgsm.c (struct engine_gpgsm): Add fields diag_cb and
diagnostics.
(close_notify_handler): Close the diag fd on status fd close.
Handle diag close.
(gpgsm_cancel): Handle diag.
(gpgsm_release): Free DIAGNOSTICS.
(gpgsm_new): Support the diag feature.
(start): Set a handler for the diag fd.
(gpgsm_getauditlog): Support GPGME_AUDITLOG_DIAG.
--

Co-authored-by: Andre Heinecke <aheinecke@gnupg.org>
Signed-off-by: Werner Koch <wk@gnupg.org>
2019-03-19 19:53:22 +01:00
..
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
argparse.c spelling: fix misspellings 2018-11-08 12:34:27 +07:00
argparse.h doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
assuan-support.c core: Remove old debug helper function 2018-11-16 16:39:26 +01:00
ath.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
ath.h w32: Remove all support for WindowsCE 2018-10-31 12:35:14 +01:00
b64dec.c core: Silence newer compiler warnings. 2018-12-17 16:47:27 +01:00
ChangeLog-2011 spelling: fix misspellings 2018-11-08 12:34:27 +07:00
cJSON.c json: Limit recursion depth 2019-02-27 14:27:47 +01:00
cJSON.h spelling: fix misspellings 2018-11-08 12:34:27 +07:00
cJSON.readme doc: convert more http:// links to https:// 2018-10-18 00:28:51 -04:00
context.h core: Add trust-model flag 2018-10-09 10:48:58 +02:00
conversion.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
data-compat.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
data-estream.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
data-fd.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
data-identify.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
data-mem.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
data-stream.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
data-user.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
data.c core: Fix format string errors in trace macros 2018-11-16 16:57:09 +01:00
data.h spelling: fix misspellings 2018-11-08 12:34:27 +07:00
debug.c core: Fix a LF problem in the new debug fucntion. 2018-11-16 18:15:22 +01:00
debug.h core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
decrypt-verify.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
decrypt.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
delete.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
dirinfo.c core: Remove old debug helper function 2018-11-16 16:39:26 +01:00
edit.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
encrypt-sign.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
encrypt.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
engine-assuan.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
engine-backend.h core: Remove cruft from the engine-gpg code. 2018-06-01 00:13:53 +02:00
engine-g13.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
engine-gpg.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
engine-gpgconf.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
engine-gpgsm.c core: Support GPGME_AUDITLOG_DIAG for gpgsm. 2019-03-19 19:53:22 +01:00
engine-spawn.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
engine-uiserver.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
engine.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
engine.h core: Remove cruft from the engine-gpg code. 2018-06-01 00:13:53 +02:00
error.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
export.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
genkey.c core: Fix ERR_INV_ARG check in genkey_start 2018-12-07 10:43:58 +01:00
get-env.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
getauditlog.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
gpgconf.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
gpgme-config.in build: Provide gpgme.pc, generated by configure. 2018-11-12 09:03:49 +09:00
gpgme-glib.pc.in build: Provide gpgme-glib.pc too. 2018-11-12 09:59:05 +09:00
gpgme-json.c json: Fix cosmetic error in the repl. 2019-02-28 14:05:06 +01:00
gpgme-tool.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
gpgme-w32spawn.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
gpgme.c doc: Minor comment cleanups. 2018-12-03 10:41:00 +01:00
gpgme.def estreams revised 2018-09-08 14:45:37 +10:00
gpgme.h.in Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
gpgme.m4 build: Make gpgme.m4 use gpgrt-config with *.pc. 2018-11-12 10:01:16 +09:00
gpgme.pc.in build: Provide gpgme-glib.pc too. 2018-11-12 09:59:05 +09:00
import.c core: Fix format string errors in trace macros 2018-11-16 16:57:09 +01:00
isascii.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
key.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
keylist.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
keysign.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
libgpgme.vers doc: use https:// for www.gnu.org 2018-10-18 00:28:51 -04:00
Makefile.am Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
mbox-util.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
mbox-util.h doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
op-support.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
opassuan.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
ops.h core: Blank out the plaintext after decryption failure. 2018-07-19 17:39:09 +02:00
parsetlv.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
parsetlv.h Spelling fixes for comments and doc 2017-12-08 05:59:11 +01:00
passphrase.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
passwd.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
posix-io.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
posix-util.c core: Remove old debug helper function 2018-11-16 16:39:26 +01:00
priv-io.h w32: Remove all support for WindowsCE 2018-10-31 12:35:14 +01:00
progress.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
putc_unlocked.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
queryswdb.c core: Fix format string errors in trace macros 2018-11-16 16:57:09 +01:00
sema.h core: Use gpgrt locking for thread safeness 2016-11-10 13:33:13 +01:00
setenv.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
sig-notation.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
sign.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
signers.c core: Protect the trace macros for fun and profit. 2018-11-16 18:17:22 +01:00
spawn.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
status-table.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
stpcpy.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
sys-util.h w32: Use CancelSynchronousIo in destroy_reader. 2018-11-01 09:55:24 +01:00
tofupolicy.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
trust-item.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
trustlist.c core: Fix format string errors in trace macros 2018-11-16 16:57:09 +01:00
ttyname_r.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
util.h w32: Remove all support for WindowsCE 2018-10-31 12:35:14 +01:00
verify.c core: Fix format string errors in trace macros 2018-11-16 16:57:09 +01:00
version.c core: Fix format string errors in trace macros 2018-11-16 16:57:09 +01:00
versioninfo.rc.in doc: Update copyright years and change two URLs. 2018-04-18 19:30:50 +02:00
vfs-create.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
vfs-mount.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
w32-glib-io.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
w32-io.c core: Fix format string errors in w32-io.c and use of TRACE_SUC. 2018-11-19 12:49:40 +01:00
w32-util.c core,w32: Fix missing sentinel in dir name builder. 2019-02-19 12:11:22 +01:00
wait-global.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
wait-private.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
wait-user.c Add SPDX identifiers to most source files 2018-11-16 13:27:33 +01:00
wait.c core: Simplify the trace maros by using variadics. 2018-11-16 16:25:49 +01:00
wait.h Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00