Fix the grammar as suggsted in the review

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23545)
This commit is contained in:
Dimitri Papadopoulos 2024-02-12 21:22:30 +01:00 committed by Tomas Mraz
parent f7241edda4
commit 39fe3e5de1
1 changed files with 3 additions and 3 deletions

View File

@ -399,8 +399,8 @@ void ossl_rcu_read_unlock(CRYPTO_RCU_LOCK *lock)
} }
} }
/* /*
* if we get here, we're trying to unlock a lock that we never acquired * If we get here, we're trying to unlock a lock that we never acquired -
* that's fatal * that's fatal.
*/ */
assert(0); assert(0);
} }
@ -451,7 +451,7 @@ static struct rcu_qp *update_qp(CRYPTO_RCU_LOCK *lock)
__ATOMIC_RELEASE); __ATOMIC_RELEASE);
/* /*
* update the reader index to be the prior qp * Update the reader index to be the prior qp.
* Note the use of __ATOMIC_RELEASE here is based on the corresponding use * Note the use of __ATOMIC_RELEASE here is based on the corresponding use
* of __ATOMIC_ACQUIRE in get_hold_current_qp, as we want any publication * of __ATOMIC_ACQUIRE in get_hold_current_qp, as we want any publication
* of this value to be seen on the read side immediately after it happens * of this value to be seen on the read side immediately after it happens