aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/ChangeLog4
-rw-r--r--scd/scdaemon.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog
index 873691f63..6b9654f58 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-16 Werner Koch <[email protected]>
+
+ * scdaemon.c (main): Set the prefixes for assuan logging.
+
2003-11-17 Werner Koch <[email protected]>
* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index a3100988b..91ac93227 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -272,7 +272,11 @@ main (int argc, char **argv )
}
ksba_set_malloc_hooks (gcry_malloc, gcry_realloc, gcry_free);
+
assuan_set_malloc_hooks (gcry_malloc, gcry_realloc, gcry_free);
+ assuan_set_assuan_log_stream (log_get_stream ());
+ assuan_set_assuan_log_prefix (log_get_prefix (NULL));
+
gcry_set_log_handler (my_gcry_logger, NULL);
gcry_control (GCRYCTL_USE_SECURE_RNDPOOL);