diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-10-12 20:59:22 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2019-10-15 14:51:43 +0200 |
commit | e3584fbf2a9760238c3279275e963cf121b3ed0b (patch) | |
tree | 958f3c86ee71b66482d4fb8b5c5519ec414875c8 /lib/record.c | |
parent | d6ee45fe1cf6715bb728e21bd7ac6c0e9d33d2a8 (diff) | |
download | gnutls-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/record.c')
-rw-r--r-- | lib/record.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/record.c b/lib/record.c index 033011b6b2..5105c13fdd 100644 --- a/lib/record.c +++ b/lib/record.c @@ -798,7 +798,7 @@ static int record_add_to_buffers(gnutls_session_t session, struct tls_record_st *recv, content_type_t type, gnutls_handshake_description_t htype, - gnutls_uint64 * seq, mbuffer_st * bufel) + const gnutls_uint64 * seq, mbuffer_st * bufel) { int ret; @@ -1260,7 +1260,7 @@ _gnutls_recv_in_buffers(gnutls_session_t session, content_type_t type, gnutls_handshake_description_t htype, unsigned int ms) { - gnutls_uint64 *packet_sequence; + const gnutls_uint64 *packet_sequence; gnutls_datum_t ciphertext; mbuffer_st *bufel = NULL, *decrypted = NULL; gnutls_datum_t t; |