diff options
Diffstat (limited to 'crypto/threads_none.c')
-rw-r--r-- | crypto/threads_none.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/threads_none.c b/crypto/threads_none.c index 47a7c01f26..e0387650fe 100644 --- a/crypto/threads_none.c +++ b/crypto/threads_none.c @@ -226,6 +226,13 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock) return 1; } +int CRYPTO_atomic_store(uint64_t *dst, uint64_t val, CRYPTO_RWLOCK *lock) +{ + *dst = val; + + return 1; +} + int CRYPTO_atomic_load_int(int *val, int *ret, CRYPTO_RWLOCK *lock) { *ret = *val; |