diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-03-30 11:37:49 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-03-31 13:28:42 +0200 |
commit | cd24f9ec69d714853b5f04a600e7670dd463dc9a (patch) | |
tree | 54c7f26402eb59bd4529d60135f97e7b86158a1e /lib/dtls.h | |
parent | e2c9f4b7d9f09861b913d048b3253e60e0f204a8 (diff) | |
download | gnutls-cd24f9ec69d714853b5f04a600e7670dd463dc9a.tar.gz |
dtls: reset the record number sliding window on gnutls_record_set_state()
This addresses issue where gnutls_record_set_state() was called with a
new state but the sliding window information was not updated, thus
blocking any incoming packets.
Resolves #82
Diffstat (limited to 'lib/dtls.h')
-rw-r--r-- | lib/dtls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dtls.h b/lib/dtls.h index 2c694ebffc..008c145f62 100644 --- a/lib/dtls.h +++ b/lib/dtls.h @@ -32,6 +32,7 @@ int _dtls_transmit(gnutls_session_t session); int _dtls_record_check(struct record_parameters_st *rp, uint64 * _seq); void _dtls_reset_hsk_state(gnutls_session_t session); +void _dtls_reset_window(gnutls_session_t session, uint8_t sequence[8]); #define MAX_DTLS_TIMEOUT 60000 |