aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/Security.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-01-29 13:31:06 +0100
committerPierre Ossman <ossman@cendio.se>2015-01-29 13:31:06 +0100
commit27eb55e1975c4f558f6a53d573091e76064cc8e7 (patch)
tree55cfd339723a5b5a0ac5689d22be8bf6a94a0a80 /common/rfb/Security.cxx
parent88c24edd8f7a793561104be50b6ecf2c85b42956 (diff)
downloadtigervnc-27eb55e1975c4f558f6a53d573091e76064cc8e7.tar.gz
tigervnc-27eb55e1975c4f558f6a53d573091e76064cc8e7.zip
Add parameter to override GnuTLS priority
Diffstat (limited to 'common/rfb/Security.cxx')
-rw-r--r--common/rfb/Security.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index 62ea50e6..e623ab54 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -49,6 +49,12 @@ using namespace std;
static LogWriter vlog("Security");
+#ifdef HAVE_GNUTLS
+StringParameter Security::GnuTLSPriority("GnuTLSPriority",
+ "GnuTLS priority string that controls the TLS session’s handshake algorithms",
+ "NORMAL");
+#endif
+
Security::Security()
{
}