diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-06-07 18:12:59 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-06-07 18:12:59 +0200 |
commit | fd5ca1afb7b223f1ce0c5330f2611996491c6aae (patch) | |
tree | 5e7b60e778d57b53b6a64c13ff752d44ba73b211 /lib/gnutls_int.h | |
parent | bbc563171aa4d3e8afae7d7fa2becbb36214fbaa (diff) | |
download | gnutls-fd5ca1afb7b223f1ce0c5330f2611996491c6aae.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.
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 4 |
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]; |