diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-05-23 09:05:26 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2019-05-23 09:05:26 +0000 |
commit | 38c17ec9737de1c434da2c49601a3e4671c74b61 (patch) | |
tree | 1c8e3a88d44aea7a85c54e56e281c50d207a6181 /lib/gnutls_int.h | |
parent | 81210d415221ce553a86ed2799583daa6e3d32aa (diff) | |
parent | 65e2aa80d114d4bef095d129c2eda475e473244a (diff) | |
download | gnutls-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.h | 3 |
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 */ |