summaryrefslogtreecommitdiff
path: root/lib/state.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-11-21 11:12:14 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:36 +0100
commit9ec15a01ee5982706adc92a938304eeb8a3de60a (patch)
tree3f9c1fc73ce1fe95676612723ac4faa78dd68108 /lib/state.c
parentf23d5eb0bb48353e28a04fac81785e5c869a5b2d (diff)
downloadgnutls-9ec15a01ee5982706adc92a938304eeb8a3de60a.tar.gz
gnutls_record_set_state: use const for seq_number
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/state.c')
-rw-r--r--lib/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/state.c b/lib/state.c
index c1d9b203d4..c90adbb551 100644
--- a/lib/state.c
+++ b/lib/state.c
@@ -1229,7 +1229,7 @@ gnutls_record_get_state(gnutls_session_t session,
int
gnutls_record_set_state(gnutls_session_t session,
unsigned read,
- unsigned char seq_number[8])
+ const unsigned char seq_number[8])
{
record_parameters_st *record_params;
record_state_st *record_state;