mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Extend mask
of ssl_method_st
to 64-bit
Fixes #23260: The bit count for `SSL_OP_*` flags has exceeded 32 bits, making it impossible to handle newer flags and protocol extensions with the existing 32-bit variables. This commit extends the `mask` field in the `ssl_method_st` structure to 64-bit, aligning them with the previously extended 64-bit `options` field. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24692)
This commit is contained in:
parent
b23cd39f0a
commit
89c9c3b857
@ -419,7 +419,7 @@ struct ssl_cipher_st {
|
||||
struct ssl_method_st {
|
||||
int version;
|
||||
unsigned flags;
|
||||
unsigned long mask;
|
||||
uint64_t mask;
|
||||
SSL *(*ssl_new) (SSL_CTX *ctx);
|
||||
void (*ssl_free) (SSL *s);
|
||||
int (*ssl_reset) (SSL *s);
|
||||
|
Loading…
Reference in New Issue
Block a user