• Joel Martin's avatar
    Add sha1.*. Remove UTF-8 encode. Protocol handling. · d8b7f7a7
    Joel Martin authored
    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.
    d8b7f7a7
Name
Last commit
Last update
VisualNaCro Loading commit data...
classes Loading commit data...
client_examples Loading commit data...
common Loading commit data...
examples Loading commit data...
libvncclient Loading commit data...
libvncserver Loading commit data...
rfb Loading commit data...
test Loading commit data...
utils Loading commit data...
vncterm Loading commit data...
x11vnc Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Doxyfile Loading commit data...
INSTALL Loading commit data...
LibVNCServer.spec.in Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
libvncclient.pc.in Loading commit data...
libvncserver-config.in Loading commit data...
libvncserver.pc.in Loading commit data...
ltmain.sh Loading commit data...
prepare_x11vnc_dist.sh Loading commit data...
tightvnc-1.3dev5-vncviewer-alpha-cursor.patch Loading commit data...