diff options
author | Werner Koch <[email protected]> | 2022-04-11 15:57:14 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2022-04-11 15:57:14 +0000 |
commit | 137e59a6a5c5cd89091471811bf7c7c67de5890d (patch) | |
tree | b42fcefb640195e287a9126abf35ae0022a1da13 /sm/gpgsm.h | |
parent | scd: Support for GeNUA cards. (diff) | |
download | gnupg-137e59a6a5c5cd89091471811bf7c7c67de5890d.tar.gz gnupg-137e59a6a5c5cd89091471811bf7c7c67de5890d.zip |
sm: Print diagnostic about CRL problems due to Tor mode.
* dirmngr/crlfetch.c (crl_fetch, crl_fetch_default)
(ca_cert_fetch, start_cert_fetch): Factor Tor error out to ...
(no_crl_due_to_tor): new. Print status note.
* dirmngr/ks-engine-ldap.c (ks_ldap_get)
(ks_ldap_search, ks_ldap_put): Factor Tor error out to ...
(no_ldap_due_to_tor): new. Print status note.
* dirmngr/ocsp.c (do_ocsp_request): Print status note.
* sm/misc.c (gpgsm_print_further_info): New.
* sm/call-dirmngr.c (warning_and_note_printer): New.
(isvalid_status_cb): Call it.
(lookup_status_cb): Ditto.
(run_command_status_cb): Ditto.
* common/asshelp2.c (vprint_assuan_status): Strip a possible trailing
LF.
--
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r-- | sm/gpgsm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h index 0eec0c025..bb32db3ed 100644 --- a/sm/gpgsm.h +++ b/sm/gpgsm.h @@ -489,6 +489,7 @@ int gpgsm_dirmngr_run_command (ctrl_t ctrl, const char *command, /*-- misc.c --*/ +void gpgsm_print_further_info (const char *format, ...) GPGRT_ATTR_PRINTF(1,2); void setup_pinentry_env (void); gpg_error_t transform_sigval (const unsigned char *sigval, size_t sigvallen, int mdalgo, |