diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-01-29 13:12:22 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-01-29 13:12:22 +0100 |
commit | 88c24edd8f7a793561104be50b6ecf2c85b42956 (patch) | |
tree | 7fac0647661a4594400ab88971541f9a1c66edcf /common/rfb/SSecurityTLS.h | |
parent | 31fa98b3197e5ed49617bb6e1f9efbfda98ac638 (diff) | |
download | tigervnc-88c24edd8f7a793561104be50b6ecf2c85b42956.tar.gz tigervnc-88c24edd8f7a793561104be50b6ecf2c85b42956.zip |
Raise GnuTLS requirements to 3.x
This allows us to simplify things by getting rid of some old
compatibility code. People should really be using current versions
of GnuTLS anyway to stay secure.
Diffstat (limited to 'common/rfb/SSecurityTLS.h')
-rw-r--r-- | common/rfb/SSecurityTLS.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/rfb/SSecurityTLS.h b/common/rfb/SSecurityTLS.h index 4eebc7e0..a7932054 100644 --- a/common/rfb/SSecurityTLS.h +++ b/common/rfb/SSecurityTLS.h @@ -51,15 +51,15 @@ namespace rfb { protected: void shutdown(); - void setParams(gnutls_session session); + void setParams(gnutls_session_t session); private: static void initGlobal(); - gnutls_session session; - gnutls_dh_params dh_params; - gnutls_anon_server_credentials anon_cred; - gnutls_certificate_credentials cert_cred; + gnutls_session_t session; + gnutls_dh_params_t dh_params; + gnutls_anon_server_credentials_t anon_cred; + gnutls_certificate_credentials_t cert_cred; char *keyfile, *certfile; int type; |