提交 c27bc746 编写于 作者: R Richard Levitte

Correct small typo in CRYPTO_GET_REF

Reviewed-by: NTim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3574)
上级 6891a79d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册