projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6891a79
)
Correct small typo in CRYPTO_GET_REF
author
Richard Levitte
<levitte@openssl.org>
Sun, 28 May 2017 05:35:58 +0000
(07:35 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 28 May 2017 05:35:58 +0000
(07:35 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3574)
include/internal/refcount.h
patch
|
blob
|
history
diff --git
a/include/internal/refcount.h
b/include/internal/refcount.h
index 1aea71b2e808356189a767fab54d73527abad718..5fae6fda23259835b4ab134bd533d2f84169929e 100644
(file)
--- a/
include/internal/refcount.h
+++ b/
include/internal/refcount.h
@@
-48,7
+48,7
@@
static ossl_inline int CRYPTO_DOWN_REF(_Atomic int *val, int *ret, void *lock)
typedef int CRYPTO_REF_COUNT;
-static ossl_inline int CRYPTO_GET_REF(
_Atomic
int *val, int *ret, void *lock)
+static ossl_inline int CRYPTO_GET_REF(int *val, int *ret, void *lock)
{
*ret = __atomic_fetch_add(val, 0, __ATOMIC_RELAXED);
return 1;