diff options
author | Matt Caswell <matt@openssl.org> | 2016-05-11 11:50:12 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-05-11 13:43:41 +0100 |
commit | 6e3ff63228c7b74c899b3bbc81e7f11db20956de (patch) | |
tree | ee41b32b5863471d4507fc139f63cdd2cbf39caf /ssl | |
parent | cb21df32296a57150341aaa24131dfc668122df8 (diff) | |
download | openssl-6e3ff63228c7b74c899b3bbc81e7f11db20956de.tar.gz |
Make null_compression const
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/statem/statem_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index a6841c3b4b..4507357abf 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -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); |