Fix pthread locking and remove defunctional support for static lock init.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Tue, 3 Jan 2012 21:04:30 +0000 (22:04 +0100)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Tue, 3 Jan 2012 21:04:30 +0000 (22:04 +0100)
commit38fcd59ce774eaa3d65f2f7534c989afd860eb56
tree8c8020cfbe0626332454ce5dda68f3b9402c3228
parent14cf1f7e338fedb8edaff5631441746605152bd6
Fix pthread locking and remove defunctional support for static lock init.

* src/ath.c: Include assert.h.
(ath_mutex_destroy, ath_mutex_lock, ath_mutex_unlock): Dereference LOCK.
* src/g10lib.h (_gcry_secmem_module_init): New declaration.
* src/global.c (global_init): Call _gcry_secmem_module_init.
* src/secmem.c (_gcry_secmem_module_init): New function.
src/ath.c
src/g10lib.h
src/global.c
src/secmem.c