Fix building websockets with GnuTLS.

pull/3/head
Christian Beier 6 years ago
parent 2300efd396
commit c5297bd47d
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8
  1. 6
      libvncserver/rfbcrypto.h

@ -3,12 +3,12 @@
#include "rfb/rfbconfig.h"
#ifdef LIBVNCSERVER_HAVE_SYS_UIO_H
#include <sys/uio.h>
#define SHA1_HASH_SIZE 20
#define MD5_HASH_SIZE 16
#ifdef LIBVNCSERVER_HAVE_SYS_UIO_H
#include <sys/uio.h>
void digestmd5(const struct iovec *iov, int iovcnt, void *dest);
void digestsha1(const struct iovec *iov, int iovcnt, void *dest);
#endif

Loading…
Cancel
Save