summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2019-05-23 09:05:26 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2019-05-23 09:05:26 +0000
commit38c17ec9737de1c434da2c49601a3e4671c74b61 (patch)
tree1c8e3a88d44aea7a85c54e56e281c50d207a6181 /lib/gnutls_int.h
parent81210d415221ce553a86ed2799583daa6e3d32aa (diff)
parent65e2aa80d114d4bef095d129c2eda475e473244a (diff)
downloadgnutls-38c17ec9737de1c434da2c49601a3e4671c74b61.tar.gz
Merge branch 'tmp-keyupdate-fixes' into 'master'
Fix handling of malformed KeyUpdate messages Closes #699 See merge request gnutls/gnutls!1005
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index ad290b0be3..63dfaa61c8 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1373,7 +1373,8 @@ typedef struct {
/* The hsk_flags are for use within the ongoing handshake;
* they are reset to zero prior to handshake start by gnutls_handshake. */
unsigned hsk_flags;
- time_t last_key_update;
+ struct timespec last_key_update;
+ unsigned key_update_count;
/* Read-only pointer to the full ClientHello message */
gnutls_buffer_st full_client_hello;
/* The offset at which extensions start in the ClientHello buffer */