diff options
Diffstat (limited to 'crypto/threads_none.c')
-rw-r--r-- | crypto/threads_none.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/threads_none.c b/crypto/threads_none.c index ffad7576b1..7e9ec2d151 100644 --- a/crypto/threads_none.c +++ b/crypto/threads_none.c @@ -125,6 +125,12 @@ int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) return 1; } +int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock) +{ + *ret = *val; + return 1; +} + int openssl_init_fork_handlers(void) { return 0; |