summaryrefslogtreecommitdiffstats
path: root/libvncserver/Makefile.am
diff options
context:
space:
mode:
authorJoel Martin <jmartin@sentryds.com>2011-08-25 15:32:48 -0500
committerJoel Martin <jmartin@sentryds.com>2011-08-25 15:32:48 -0500
commitd8b7f7a7d6c283e85c545c16fe6a598161cf306a (patch)
tree5e66d0881784997d29eeec63ae78f891b8d745af /libvncserver/Makefile.am
parent099e5c825101c280c98d5c4f76bb5065b6c41041 (diff)
downloadlibtdevnc-d8b7f7a7d6c283e85c545c16fe6a598161cf306a.tar.gz
libtdevnc-d8b7f7a7d6c283e85c545c16fe6a598161cf306a.zip
Add sha1.*. Remove UTF-8 encode. Protocol handling.
Add common/sha1.h and common/sha1.c so that we have the SHA routines even if openssl is not available. From the IETF SHA RFC example code. Remove the UTF-8 encoding hack. This was really just an experiment. If the protocol passed in the handshake has "binary" then don't base64 encode for the HyBi protocol. This will allow noVNC to request the binary data be passed raw and not base64 encoded. Unfortunately, the client doesn't speak first in VNC protocol (bad original design). If it did then we could determine whether to base64 encode or not based on the first HyBi frame from the client and whether the binary bit is set or not. Oh well. Misc Cleanup: - Always free response and buf in handshake routine. - Remove some unused variables.
Diffstat (limited to 'libvncserver/Makefile.am')
-rw-r--r--libvncserver/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/Makefile.am b/libvncserver/Makefile.am
index a9feac1..4a031af 100644
--- a/libvncserver/Makefile.am
+++ b/libvncserver/Makefile.am
@@ -24,7 +24,7 @@ WEBSOCKETSSSLSRCS = rfbssl_none.c
#endif
endif
-WEBSOCKETSSRCS = websockets.c ../common/md5.c $(WEBSOCKETSSSLSRCS)
+WEBSOCKETSSRCS = websockets.c ../common/md5.c ../common/sha1.c $(WEBSOCKETSSSLSRCS)
endif
includedir=$(prefix)/include/rfb