Commit b543d486 authored by Gernot Tenchio's avatar Gernot Tenchio Committed by Johannes Schindelin

Move libvncserver/md5* to common

Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent c2fb69f8
......@@ -191,7 +191,7 @@ if(LIBVNCSERVER_WITH_WEBSOCKETS)
${LIBVNCSERVER_SOURCES}
${LIBVNCSERVER_DIR}/websockets.c
${LIBVNCSERVER_DIR}/${WSSRCS}
${LIBVNCSERVER_DIR}/md5.c
${COMMON_DIR}/md5.c
)
endif(LIBVNCSERVER_WITH_WEBSOCKETS)
......
......@@ -51,6 +51,10 @@
# define SWAP(n) (n)
#endif
void
md5_process_bytes (const void *buffer, size_t len, struct md5_ctx *ctx);
void
md5_process_block (const void *buffer, size_t len, struct md5_ctx *ctx);
/* This array contains the bytes used to pad the buffer to the next
64-byte boundary. (RFC 1321, 3.1: Step 1) */
......
......@@ -24,7 +24,7 @@ WEBSOCKETSSSLSRCS = rfbssl_none.c
#endif
endif
WEBSOCKETSSRCS = websockets.c md5.c $(WEBSOCKETSSSLSRCS)
WEBSOCKETSSRCS = websockets.c ../common/md5.c $(WEBSOCKETSSSLSRCS)
endif
includedir=$(prefix)/include/rfb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment