summaryrefslogtreecommitdiffstats
path: root/crypto/threads_pthread.c
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2024-02-11 18:14:30 +0100
committerTomas Mraz <tomas@openssl.org>2024-02-14 09:36:11 +0100
commitf7241edda4d9fc76f0ee134e6a07a76c6414b70a (patch)
tree0fb5414485a586bfef5cc2ca66fa8f39834a4d41 /crypto/threads_pthread.c
parent09693750601e39574ca7ea335faacfb23bc7282b (diff)
Fix new typos found by codespell
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23545)
Diffstat (limited to 'crypto/threads_pthread.c')
-rw-r--r--crypto/threads_pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/threads_pthread.c b/crypto/threads_pthread.c
index ad6c259d92..abcafec2db 100644
--- a/crypto/threads_pthread.c
+++ b/crypto/threads_pthread.c
@@ -400,7 +400,7 @@ void ossl_rcu_read_unlock(CRYPTO_RCU_LOCK *lock)
}
/*
* if we get here, we're trying to unlock a lock that we never acquired
- * thats fatal
+ * that's fatal
*/
assert(0);
}
@@ -453,7 +453,7 @@ static struct rcu_qp *update_qp(CRYPTO_RCU_LOCK *lock)
/*
* update the reader index to be the prior qp
* Note the use of __ATOMIC_RELEASE here is based on the corresponding use
- * of __ATOMIC_ACQUIRE in get_hold_current_qp, as we wan't 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
*/
ATOMIC_STORE_N(&lock->reader_idx, lock->current_alloc_idx,