summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinoguchi <inoguchi@openbsd.org>2020-05-02 00:31:54 +0000
committerinoguchi <inoguchi@openbsd.org>2020-05-02 00:31:54 +0000
commit60e65ff7501fd38f79595c99a682ecee0370a29c (patch)
tree100b3b9d92dcbcac2d76021e1514c058a51a84d2
parentAdd const to TLS1.3 internal vectors (diff)
downloadwireguard-openbsd-60e65ff7501fd38f79595c99a682ecee0370a29c.tar.xz
wireguard-openbsd-60e65ff7501fd38f79595c99a682ecee0370a29c.zip
Add const to TLS1.3 internal vectors
ok tb@
-rw-r--r--lib/libssl/tls13_record_layer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/tls13_record_layer.c b/lib/libssl/tls13_record_layer.c
index dac8fe088d0..0bf1d19d918 100644
--- a/lib/libssl/tls13_record_layer.c
+++ b/lib/libssl/tls13_record_layer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_record_layer.c,v 1.31 2020/04/29 01:22:28 inoguchi Exp $ */
+/* $OpenBSD: tls13_record_layer.c,v 1.32 2020/05/02 00:31:54 inoguchi Exp $ */
/*
* Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org>
*
@@ -166,7 +166,7 @@ tls13_record_layer_rbuf(struct tls13_record_layer *rl, CBS *cbs)
CBS_dup(&rl->rbuf_cbs, cbs);
}
-uint8_t tls13_max_seq_num[TLS13_RECORD_SEQ_NUM_LEN] = {
+static const uint8_t tls13_max_seq_num[TLS13_RECORD_SEQ_NUM_LEN] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
};