Move libvncserver/md5* to common

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
pull/1/head
Gernot Tenchio 11 years ago committed by Johannes Schindelin
parent c2fb69f84d
commit b543d48677
  1. 2
      CMakeLists.txt
  2. 4
      common/md5.c
  3. 0
      common/md5.h
  4. 2
      libvncserver/Makefile.am

@ -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

Loading…
Cancel
Save