summaryrefslogtreecommitdiff
path: root/lib/gnutls_handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_handshake.c')
-rw-r--r--lib/gnutls_handshake.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c
index 7989d87788..90931c38af 100644
--- a/lib/gnutls_handshake.c
+++ b/lib/gnutls_handshake.c
@@ -250,6 +250,7 @@ int _gnutls_read_client_hello(GNUTLS_STATE state, opaque * data,
#endif
version = _gnutls_version_get(data[pos], data[pos + 1]);
+ set_adv_version( state, data[pos], data[pos+1]);
/* if we do not support that version */
if (_gnutls_version_is_supported(state, version) == 0) {