• 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
..
tightvnc-filetransfer Loading commit data...
Makefile.am Loading commit data...
auth.c Loading commit data...
cargs.c Loading commit data...
config.h Loading commit data...
corre.c Loading commit data...
cursor.c Loading commit data...
cutpaste.c Loading commit data...
draw.c Loading commit data...
font.c Loading commit data...
hextile.c Loading commit data...
httpd.c Loading commit data...
main.c Loading commit data...
private.h Loading commit data...
rfbconfig.h Loading commit data...
rfbregion.c Loading commit data...
rfbserver.c Loading commit data...
rfbssl.h Loading commit data...
rfbssl_gnutls.c Loading commit data...
rfbssl_none.c Loading commit data...
rfbssl_openssl.c Loading commit data...
rre.c Loading commit data...
scale.c Loading commit data...
scale.h Loading commit data...
selbox.c Loading commit data...
sockets.c Loading commit data...
stats.c Loading commit data...
tableinit24.c Loading commit data...
tableinitcmtemplate.c Loading commit data...
tableinittctemplate.c Loading commit data...
tabletrans24template.c Loading commit data...
tabletranstemplate.c Loading commit data...
tight.c Loading commit data...
translate.c Loading commit data...
ultra.c Loading commit data...
websockets.c Loading commit data...
zlib.c Loading commit data...
zrle.c Loading commit data...
zrleencodetemplate.c Loading commit data...
zrleoutstream.c Loading commit data...
zrleoutstream.h Loading commit data...
zrlepalettehelper.c Loading commit data...
zrlepalettehelper.h Loading commit data...
zrletypes.h Loading commit data...