diff options
Diffstat (limited to 'lib/state.c')
-rw-r--r-- | lib/state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/state.c b/lib/state.c index a60544737a..392183c95f 100644 --- a/lib/state.c +++ b/lib/state.c @@ -430,7 +430,8 @@ void _gnutls_handshake_internal_state_clear(gnutls_session_t session) _gnutls_epoch_gc(session); - session->internals.handshake_endtime = 0; + session->internals.handshake_endtime.tv_sec = 0; + session->internals.handshake_endtime.tv_nsec = 0; session->internals.handshake_in_progress = 0; session->internals.tfo.connect_addrlen = 0; |