mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Make null_compression const
Reviewed-by: Stephen Henson <steve@openssl.org>
This commit is contained in:
parent
cb21df3229
commit
6e3ff63228
@ -971,7 +971,7 @@ MSG_PROCESS_RETURN tls_process_client_hello(SSL *s, PACKET *pkt)
|
||||
/* |cookie| will only be initialized for DTLS. */
|
||||
PACKET session_id, cipher_suites, compression, extensions, cookie;
|
||||
int is_v2_record;
|
||||
static unsigned char null_compression = 0;
|
||||
static const unsigned char null_compression = 0;
|
||||
|
||||
is_v2_record = RECORD_LAYER_is_sslv2_record(&s->rlayer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user