diff options
author | Hugo Landau <hlandau@openssl.org> | 2024-01-17 12:06:14 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-02-02 11:49:34 +0000 |
commit | 0e6eb431e89fd733daece4997448b83df80185b4 (patch) | |
tree | a759bd38c8ec726f0e29c108e5d2e8286f1494f2 /ssl | |
parent | 29bd1e2d24603827da52ce664244fd871b59d1f2 (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.c | 2 |
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 { |