summaryrefslogtreecommitdiff
path: root/lib/gnutls_handshake.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2007-11-18 20:37:58 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2007-11-18 20:37:58 +0200
commit7339ff3ea7de5d03321f4f86636fd1705aabba20 (patch)
treed41c4d13085cb45de315bf17d0c6b7b4c830d797 /lib/gnutls_handshake.h
parent511b53b30adb9dcdf714aa6c3c84dd8a83b5298f (diff)
downloadgnutls-7339ff3ea7de5d03321f4f86636fd1705aabba20.tar.gz
Renegotiate the protocol version after the user_hello_func has been called
Diffstat (limited to 'lib/gnutls_handshake.h')
-rw-r--r--lib/gnutls_handshake.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_handshake.h b/lib/gnutls_handshake.h
index 1878d2fe25..5e539bbecc 100644
--- a/lib/gnutls_handshake.h
+++ b/lib/gnutls_handshake.h
@@ -50,6 +50,8 @@ int _gnutls_find_pk_algos_in_ciphersuites (opaque * data, int datalen);
int _gnutls_server_select_suite (gnutls_session_t session, opaque * data,
int datalen);
+int _gnutls_negotiate_version( gnutls_session_t session, gnutls_protocol_t adv_version);
+
#define STATE session->internals.handshake_state
/* This returns true if we have got there
* before (and not finished due to an interrupt).