summaryrefslogtreecommitdiffstats
path: root/common/rfb
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-02-09 15:38:37 +0000
committerAdam Tkac <atkac@redhat.com>2011-02-09 15:38:37 +0000
commitb48642369217f870e8571b27196d165aca61d75a (patch)
treeee867b8a00e736fa9a085c1f515eb88b5fdba3d7 /common/rfb
parent68481c19ebfcaed4526c70dac5c14a27f061262a (diff)
downloadtigervnc-b48642369217f870e8571b27196d165aca61d75a.tar.gz
tigervnc-b48642369217f870e8571b27196d165aca61d75a.zip
[Bugfix] Improve compatibility with ancient GNUTLS implementations even more.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4278 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb')
-rw-r--r--common/rfb/CSecurityTLS.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx
index f81c6340..c774c3db 100644
--- a/common/rfb/CSecurityTLS.cxx
+++ b/common/rfb/CSecurityTLS.cxx
@@ -57,6 +57,11 @@
#define WITHOUT_X509_TIMES
#endif
+/* Ancient GNUTLS... */
+#if !defined(GNUTLS_VERSION_NUMBER) && !defined(LIBGNUTLS_VERSION_NUMBER)
+#define WITHOUT_X509_TIMES
+#endif
+
#define TLS_DEBUG
using namespace rfb;