diff options
author | Werner Koch <wk@gnupg.org> | 2011-12-01 13:55:06 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-12-01 13:59:38 +0100 |
commit | 5a1b2784cc1a718fd44d551b7ec018ef4614ce30 (patch) | |
tree | 94c27e5523a3ec115ed773a261b70a3f14a0bca8 /random/random-fips.c | |
parent | 37810e520dba6fcb9da5a13bc6fdba9076cfe0f2 (diff) | |
download | libgcrypt-5a1b2784cc1a718fd44d551b7ec018ef4614ce30.tar.gz |
Completed switch to a simpler thread model.
This is only a first step. We will need to either implement
pthread_atfork or - better - make use use POSIX RT semaphores.
Diffstat (limited to 'random/random-fips.c')
-rw-r--r-- | random/random-fips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/random/random-fips.c b/random/random-fips.c index 307d2b2a..e0ae9683 100644 --- a/random/random-fips.c +++ b/random/random-fips.c @@ -72,7 +72,7 @@ integer variable is only used to check the locking state; that is, it is not meant to be thread-safe but merely as a failsafe feature to assert proper locking. */ -static ath_mutex_t fips_rng_lock = ATH_MUTEX_INITIALIZER; +static ath_mutex_t fips_rng_lock; static int fips_rng_is_locked; |