aboutsummaryrefslogtreecommitdiffstats
path: root/common/audit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2008-02-13 16:47:14 +0000
committerWerner Koch <[email protected]>2008-02-13 16:47:14 +0000
commit0819c1e8ca8b02a1191fc0087a8046bce6770fff (patch)
treefa756b18d2ec580b22b77f0ffec468be76ec79f1 /common/audit.c
parent2008-02-09 Marcus Brinkmann <[email protected]> (diff)
downloadgnupg-0819c1e8ca8b02a1191fc0087a8046bce6770fff.tar.gz
gnupg-0819c1e8ca8b02a1191fc0087a8046bce6770fff.zip
Always search missing certifcates using a running Dirmngr's cache.
Diffstat (limited to 'common/audit.c')
-rw-r--r--common/audit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/audit.c b/common/audit.c
index 59f881cd5..706012ebe 100644
--- a/common/audit.c
+++ b/common/audit.c
@@ -938,10 +938,13 @@ audit_print_result (audit_ctx_t ctx, estream_t out, int use_html)
helptag_t helptag;
const char *s;
int show_raw = 0;
+ char *orig_codeset;
if (!ctx)
return;
+ orig_codeset = i18n_switchto_utf8 ();
+
/* We use an environment variable to include some debug info in the
log. */
if ((s = getenv ("gnupg_debug_audit")))
@@ -1090,5 +1093,6 @@ audit_print_result (audit_ctx_t ctx, estream_t out, int use_html)
ctx->outstream = NULL;
ctx->use_html = 0;
clear_helptags (ctx);
+ i18n_switchback (orig_codeset);
}