From: Richard Levitte Date: Sun, 28 May 2017 05:35:58 +0000 (+0200) Subject: Correct small typo in CRYPTO_GET_REF X-Git-Tag: OpenSSL_1_1_1-pre1~1433 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c27bc74698ed043b7549d5637ec0a8cf65b39e59;p=oweals%2Fopenssl.git Correct small typo in CRYPTO_GET_REF Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/3574) --- diff --git a/include/internal/refcount.h b/include/internal/refcount.h index 1aea71b2e8..5fae6fda23 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;