From 0e6eb431e89fd733daece4997448b83df80185b4 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Wed, 17 Jan 2024 12:06:14 +0000 Subject: [PATCH] QLOG: Fix bit_set Reviewed-by: Matt Caswell Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/22037) --- ssl/quic/qlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/quic/qlog.c b/ssl/quic/qlog.c index 8fa55c567ea..f374d0c8c77 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 { -- 2.47.2