summaryrefslogtreecommitdiff
path: root/lib/cipher-cbc.c
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-10-12 20:59:22 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2019-10-15 14:51:43 +0200
commite3584fbf2a9760238c3279275e963cf121b3ed0b (patch)
tree958f3c86ee71b66482d4fb8b5c5519ec414875c8 /lib/cipher-cbc.c
parentd6ee45fe1cf6715bb728e21bd7ac6c0e9d33d2a8 (diff)
downloadgnutls-e3584fbf2a9760238c3279275e963cf121b3ed0b.tar.gz
Add const to several read-only packet sequence paramstmp-fix-coverity
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'lib/cipher-cbc.c')
-rw-r--r--lib/cipher-cbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cipher-cbc.c b/lib/cipher-cbc.c
index 5f6868587c..26f72d7ea4 100644
--- a/lib/cipher-cbc.c
+++ b/lib/cipher-cbc.c
@@ -72,7 +72,7 @@ static void dummy_wait(record_parameters_st *params,
int cbc_mac_verify(gnutls_session_t session, record_parameters_st *params,
uint8_t preamble[MAX_PREAMBLE_SIZE],
content_type_t type,
- gnutls_uint64 *sequence,
+ const gnutls_uint64 *sequence,
const uint8_t *data, size_t data_size,
size_t tag_size)
{