diff options
author | Werner Koch <wk@gnupg.org> | 2002-09-17 12:40:05 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-09-17 12:40:05 +0000 |
commit | d16c3b00274abf168053952354c85b60c1f448ac (patch) | |
tree | 960fb8fbdf1668007bb1fa6b741908cf464adf88 /src/secmem.c | |
parent | e2952f48b02182a55cc00ce2fecbe0fa619c762d (diff) | |
download | libgcrypt-d16c3b00274abf168053952354c85b60c1f448ac.tar.gz |
* 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.
Diffstat (limited to 'src/secmem.c')
-rw-r--r-- | src/secmem.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 ); } |