From d16c3b00274abf168053952354c85b60c1f448ac Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 17 Sep 2002 12:40:05 +0000 Subject: * global.c (global_init): New. Use it instead of the setting any_init_done. Initialize the ATH system. (gcry_check_version): Hook global_init in. This is the suggested way to initialize the library. (_gcry_no_internal_locking): Removed. We simply call a ath_deinit and leave it to ATH to disbale the locking. * ath.c, ath.h, ath-pth.c, ath-pthread.c: New. Taken from GPGME. * mutex.h: Removed. * Makefile.am (ath_components): New. --- src/secmem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/secmem.c') diff --git a/src/secmem.c b/src/secmem.c index 261af487..5c3ad703 100644 --- a/src/secmem.c +++ b/src/secmem.c @@ -424,8 +424,7 @@ _gcry_secmem_dump_stats() { if( disable_secmem ) return; - fprintf(stderr, - "secmem usage: %u/%u bytes in %u/%u blocks of pool %lu/%lu\n", + log_info ("secmem usage: %u/%u bytes in %u/%u blocks of pool %lu/%lu\n", cur_alloced, max_alloced, cur_blocks, max_blocks, (ulong)poollen, (ulong)poolsize ); } -- cgit v1.2.1