summaryrefslogtreecommitdiffstats
path: root/rfb/rfbproto.h
diff options
context:
space:
mode:
authorsimon <root@simon.home>2017-04-21 01:24:56 +0100
committersimon <watermansrdev@gmail.com>2017-06-25 01:07:40 +0100
commitcb4e15c1aecbe283b87e4e97c1d485062ef7f571 (patch)
tree462fb00816ccf67e418a736de9bb0c39c173e121 /rfb/rfbproto.h
parentc80879ee69bcad51564b8b183f63131934006bf5 (diff)
downloadlibtdevnc-cb4e15c1aecbe283b87e4e97c1d485062ef7f571.tar.gz
libtdevnc-cb4e15c1aecbe283b87e4e97c1d485062ef7f571.zip
Added SASL authentication support
Added SASL support to OpenSSL
Diffstat (limited to 'rfb/rfbproto.h')
-rw-r--r--rfb/rfbproto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index f0d6ea1..c5b2723 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -67,9 +67,8 @@
typedef int8_t rfbBool;
#include <sys/timeb.h>
#include <winsock2.h>
-#else
-#include <rfb/rfbconfig.h>
#endif
+#include <rfb/rfbconfig.h>
#ifdef LIBVNCSERVER_HAVE_LIBZ
#include <zlib.h>
@@ -287,6 +286,9 @@ typedef char rfbProtocolVersionMsg[13]; /* allow extra byte for null */
#define rfbUltra 17
#define rfbTLS 18
#define rfbVeNCrypt 19
+#ifdef LIBVNCSERVER_HAVE_SASL
+#define rfbSASL 20
+#endif /* LIBVNCSERVER_HAVE_SASL */
#define rfbARD 30
#define rfbMSLogon 0xfffffffa