[openssl-commits] [openssl] master update
Richard Levitte
levitte at openssl.org
Sun May 28 09:48:41 UTC 2017
The branch master has been updated
via c27bc74698ed043b7549d5637ec0a8cf65b39e59 (commit)
from 6891a79da67ccd621b67e49b60ddc188d7864291 (commit)
- Log -----------------------------------------------------------------
commit c27bc74698ed043b7549d5637ec0a8cf65b39e59
Author: Richard Levitte <levitte at openssl.org>
Date: Sun May 28 07:35:58 2017 +0200
Correct small typo in CRYPTO_GET_REF
Reviewed-by: Tim Hudson <tjh at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3574)
-----------------------------------------------------------------------
Summary of changes:
include/internal/refcount.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/internal/refcount.h b/include/internal/refcount.h
index 1aea71b..5fae6fd 100644
--- 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;
More information about the openssl-commits
mailing list