summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbcrypto.h
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-06-29 12:30:17 +0200
committerChristian Beier <dontmind@freeshell.org>2018-06-29 12:30:17 +0200
commit85fb69515cf1739bea53ce62b832a17e08ab3647 (patch)
tree0b4bb1faf2f1ae9d0ed67d36cf119a1b50f7475e /libvncserver/rfbcrypto.h
parent161e7cab026dd89dacd85208b74834cc4c509f72 (diff)
downloadlibtdevnc-85fb69515cf1739bea53ce62b832a17e08ab3647.tar.gz
libtdevnc-85fb69515cf1739bea53ce62b832a17e08ab3647.zip
crypto: move to common
As of now, only LibVNCServer makes uses of these digest functions _and_ they depend on sys/uio.h, but in the future LibVNCClient will need those as well.
Diffstat (limited to 'libvncserver/rfbcrypto.h')
-rw-r--r--libvncserver/rfbcrypto.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/libvncserver/rfbcrypto.h b/libvncserver/rfbcrypto.h
deleted file mode 100644
index fec095e..0000000
--- a/libvncserver/rfbcrypto.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef _RFB_CRYPTO_H
-#define _RFB_CRYPTO_H 1
-
-#include "rfb/rfbconfig.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
-
-#endif