summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2015-02-01 18:13:52 +0100
committerChristian Beier <dontmind@freeshell.org>2015-02-01 18:13:52 +0100
commit99bd5d7ca48dec0a4c1aca4cdbe7b5fb2bea2bbf (patch)
tree25fce6a4b0310cd2dcfe5cc189885b1235e449c4 /libvncserver
parentcf03f71780ace5db61f194bbe6c832f32fbc10f8 (diff)
downloadlibtdevnc-99bd5d7ca48dec0a4c1aca4cdbe7b5fb2bea2bbf.tar.gz
libtdevnc-99bd5d7ca48dec0a4c1aca4cdbe7b5fb2bea2bbf.zip
Replace SHA1 implementation with the one from RFC 6234.
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/Makefile.am2
-rw-r--r--libvncserver/rfbcrypto_included.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/Makefile.am b/libvncserver/Makefile.am
index cb38c64..38426af 100644
--- a/libvncserver/Makefile.am
+++ b/libvncserver/Makefile.am
@@ -37,7 +37,7 @@ include_HEADERS=../rfb/rfb.h ../rfb/rfbconfig.h ../rfb/rfbint.h \
noinst_HEADERS=../common/d3des.h ../rfb/default8x16.h zrleoutstream.h \
zrlepalettehelper.h zrletypes.h private.h scale.h rfbssl.h rfbcrypto.h \
- ../common/minilzo.h ../common/lzoconf.h ../common/lzodefs.h ../common/md5.h ../common/sha1.h \
+ ../common/minilzo.h ../common/lzoconf.h ../common/lzodefs.h ../common/md5.h ../common/sha.h ../common/sha-private.h \
$(TIGHTVNCFILETRANSFERHDRS)
EXTRA_DIST=tableinit24.c tableinittctemplate.c tabletranstemplate.c \
diff --git a/libvncserver/rfbcrypto_included.c b/libvncserver/rfbcrypto_included.c
index 58c2e93..7feff61 100644
--- a/libvncserver/rfbcrypto_included.c
+++ b/libvncserver/rfbcrypto_included.c
@@ -23,7 +23,7 @@
#include <string.h>
#include "md5.h"
-#include "sha1.h"
+#include "sha.h"
#include "rfbcrypto.h"
void digestmd5(const struct iovec *iov, int iovcnt, void *dest)