Diffusion GPGME dd21ec997cf4

core: Support GPGME_AUDITLOG_DIAG for gpgsm.

Authored by werner on Mar 19 2019, 7:53 PM.

Description

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>

Details

Committed
wernerMar 19 2019, 7:53 PM
Parents
rMc4cc47ee8f0b: cpp: Fix Error::hasSystemError
Branches
Unknown
Tags
Unknown