git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4104 3789f03b-4d11-0410-bbf8-ca57d06f2519tags/v1.0.90
@@ -23,11 +23,12 @@ | |||
#include <config.h> | |||
#endif | |||
#ifdef HAVE_GNUTLS | |||
#ifndef HAVE_GNUTLS | |||
#error "This source should not be compiled without HAVE_GNUTLS defined" | |||
#endif | |||
#include <rfb/CSecurityTLS.h> | |||
using namespace rfb; | |||
CSecurityTLS::CSecurityTLS() : anon_cred(0) | |||
@@ -63,4 +64,3 @@ void CSecurityTLS::checkSession(gnutls_session session) | |||
} | |||
#endif /* HAVE_GNUTLS */ |
@@ -26,7 +26,9 @@ | |||
#include <config.h> | |||
#endif | |||
#ifdef HAVE_GNUTLS | |||
#ifndef HAVE_GNUTLS | |||
#error "This header should not be included without HAVE_GNUTLS defined" | |||
#endif | |||
#include <rfb/CSecurityTLSBase.h> | |||
#include <rfb/SSecurityVeNCrypt.h> | |||
@@ -48,6 +50,4 @@ namespace rfb { | |||
}; | |||
} | |||
#endif /* HAVE_GNUTLS */ | |||
#endif /* __C_SECURITY_TLS_H__ */ |
@@ -23,7 +23,9 @@ | |||
#include <config.h> | |||
#endif | |||
#ifdef HAVE_GNUTLS | |||
#ifndef HAVE_GNUTLS | |||
#error "This header should not be compiled without HAVE_GNUTLS defined" | |||
#endif | |||
#include <rfb/CSecurityTLSBase.h> | |||
#include <rfb/CConnection.h> | |||
@@ -136,4 +138,3 @@ bool CSecurityTLSBase::processMsg(CConnection* cc) | |||
return true; | |||
} | |||
#endif /* HAVE_GNUTLS */ |
@@ -26,7 +26,9 @@ | |||
#include <config.h> | |||
#endif | |||
#ifdef HAVE_GNUTLS | |||
#ifndef HAVE_GNUTLS | |||
#error "This header should not be compiled without HAVE_GNUTLS defined" | |||
#endif | |||
#include <rfb/CSecurity.h> | |||
#include <rfb/Security.h> | |||
@@ -57,6 +59,4 @@ namespace rfb { | |||
}; | |||
} | |||
#endif /* HAVE_GNUTLS */ | |||
#endif |