From b48642369217f870e8571b27196d165aca61d75a Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Wed, 9 Feb 2011 15:38:37 +0000 Subject: [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 --- common/rfb/CSecurityTLS.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'common/rfb') 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; -- cgit v1.2.3