summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in2
-rw-r--r--lib/gnutls_state.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index bbea28f72b..48a35f73a3 100644
--- a/configure.in
+++ b/configure.in
@@ -12,7 +12,7 @@ AC_DEFINE_UNQUOTED(T_OS, "$target_os")
dnl Gnutls Version
GNUTLS_MAJOR_VERSION=0
GNUTLS_MINOR_VERSION=5
-GNUTLS_MICRO_VERSION=2
+GNUTLS_MICRO_VERSION=4
GNUTLS_VERSION=$GNUTLS_MAJOR_VERSION.$GNUTLS_MINOR_VERSION.$GNUTLS_MICRO_VERSION
AC_DEFINE_UNQUOTED(GNUTLS_VERSION, "$GNUTLS_VERSION")
diff --git a/lib/gnutls_state.c b/lib/gnutls_state.c
index 2bd670bd25..f5b454904b 100644
--- a/lib/gnutls_state.c
+++ b/lib/gnutls_state.c
@@ -133,6 +133,7 @@ void _gnutls_handshake_internal_state_clear( GNUTLS_STATE state) {
sizeof(HANDSHAKE_HEADER_BUFFER));
state->gnutls_internals.adv_version_minor = 0;
state->gnutls_internals.adv_version_minor = 0;
+ state->gnutls_internals.handshake_direction = 0;
state->gnutls_internals.resumable = RESUME_TRUE;