summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-17 12:06:14 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-02 11:49:34 +0000
commit0e6eb431e89fd733daece4997448b83df80185b4 (patch)
treea759bd38c8ec726f0e29c108e5d2e8286f1494f2 /ssl
parent29bd1e2d24603827da52ce664244fd871b59d1f2 (diff)
QLOG: Fix bit_set
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22037)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/qlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/qlog.c b/ssl/quic/qlog.c
index 8fa55c567e..f374d0c8c7 100644
--- a/ssl/quic/qlog.c
+++ b/ssl/quic/qlog.c
@@ -27,7 +27,7 @@ static ossl_unused ossl_inline void bit_set(size_t *p, uint32_t bit_no, int enab
if (enable)
p[bit_no / BITS_PER_WORD] |= mask;
else
- p[bit_no / BITS_PER_WORD] &= mask;
+ p[bit_no / BITS_PER_WORD] &= ~mask;
}
struct qlog_st {