1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

(main): Set the prefixes for assuan logging.

This commit is contained in:
Werner Koch 2003-12-16 16:30:55 +00:00
parent bba0f77422
commit f438224dae
4 changed files with 14 additions and 0 deletions

View file

@ -355,6 +355,8 @@ main (int argc, char **argv )
}
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);