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) ...@@ -191,7 +191,7 @@ if(LIBVNCSERVER_WITH_WEBSOCKETS)
${LIBVNCSERVER_SOURCES} ${LIBVNCSERVER_SOURCES}
${LIBVNCSERVER_DIR}/websockets.c ${LIBVNCSERVER_DIR}/websockets.c
${LIBVNCSERVER_DIR}/${WSSRCS} ${LIBVNCSERVER_DIR}/${WSSRCS}
${LIBVNCSERVER_DIR}/md5.c ${COMMON_DIR}/md5.c
) )
endif(LIBVNCSERVER_WITH_WEBSOCKETS) endif(LIBVNCSERVER_WITH_WEBSOCKETS)
......
...@@ -51,6 +51,10 @@ ...@@ -51,6 +51,10 @@
# define SWAP(n) (n) # define SWAP(n) (n)
#endif #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 /* This array contains the bytes used to pad the buffer to the next
64-byte boundary. (RFC 1321, 3.1: Step 1) */ 64-byte boundary. (RFC 1321, 3.1: Step 1) */
......
...@@ -24,7 +24,7 @@ WEBSOCKETSSSLSRCS = rfbssl_none.c ...@@ -24,7 +24,7 @@ WEBSOCKETSSSLSRCS = rfbssl_none.c
#endif #endif
endif endif
WEBSOCKETSSRCS = websockets.c md5.c $(WEBSOCKETSSSLSRCS) WEBSOCKETSSRCS = websockets.c ../common/md5.c $(WEBSOCKETSSSLSRCS)
endif endif
includedir=$(prefix)/include/rfb 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