summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-07 18:12:59 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-20 19:56:02 +0200
commit5b15314d535e6fb76d3aa50d7174fd240b52c525 (patch)
treee82c578037d4724c66e8e499845d2230002b5370 /lib/gnutls_int.h
parent2b9810f19cec0cc474e56c11110c86809bf8ec02 (diff)
downloadgnutls-5b15314d535e6fb76d3aa50d7174fd240b52c525.tar.gz
Added support for an old version of the DTLS protocol
used by openconnect vpn client for compatibility with Cisco's AnyConnect SSL VPN. It is marked as GNUTLS_DTLS0_9. Do not use it for newer protocols as it has issues. Conflicts: NEWS lib/libgnutls.map
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 4a60ae0d8f..02c4f9524c 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -863,6 +863,10 @@ typedef struct
/* DTLS session state */
dtls_st dtls;
+
+ /* if set it means that the master key was set using
+ * gnutls_session_set_master() rather than being negotiated. */
+ unsigned int premaster_set:1;
unsigned int cb_tls_unique_len;
unsigned char cb_tls_unique[MAX_VERIFY_DATA_SIZE];