summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-10-09 14:39:43 +1000
committerPauli <paul.dale@oracle.com>2017-10-10 08:45:53 +1000
commit30ff41beab5d8a53cbcbdab4109b32b9ef5c0f6e (patch)
treed807a734652467cb791af4cfdfe5330080dca5d1 /include
parent94683b7acb62a5d99b8b4d66283e6d6dd0007f7a (diff)
Add atomic write call
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4414)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/crypto.h b/include/openssl/crypto.h
index a9f080d53c..c2aa07c98d 100644
--- a/include/openssl/crypto.h
+++ b/include/openssl/crypto.h
@@ -75,6 +75,7 @@ void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock);
int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock);
+int CRYPTO_atomic_write(int *val, int n, CRYPTO_RWLOCK *lock);
/*
* The following can be used to detect memory leaks in the library. If