summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-06-29 14:23:24 +0200
committerChristian Beier <dontmind@freeshell.org>2018-06-29 14:23:24 +0200
commit3c05dd565e7c0253bcca437bf56ad41564c12650 (patch)
tree87bd8bcbc01ecf759d3791c53bc3c7ccda8de550 /common
parenta2ebdf46cc0048bca127d31882523fa4b0fa5762 (diff)
downloadlibtdevnc-3c05dd565e7c0253bcca437bf56ad41564c12650.tar.gz
libtdevnc-3c05dd565e7c0253bcca437bf56ad41564c12650.zip
crypto: remove polarssl wrapper
This is not even in the build system anymore.
Diffstat (limited to 'common')
-rw-r--r--common/rfbcrypto_polarssl.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/common/rfbcrypto_polarssl.c b/common/rfbcrypto_polarssl.c
deleted file mode 100644
index 55e3a7b..0000000
--- a/common/rfbcrypto_polarssl.c
+++ /dev/null
@@ -1,26 +0,0 @@
-#include <string.h>
-#include <polarssl/md5.h>
-#include <polarssl/sha1.h>
-#include "rfbcrypto.h"
-
-void digestmd5(const struct iovec *iov, int iovcnt, void *dest)
-{
- md5_context c;
- int i;
-
- md5_starts(&c);
- for (i = 0; i < iovcnt; i++)
- md5_update(&c, iov[i].iov_base, iov[i].iov_len);
- md5_finish(&c, dest);
-}
-
-void digestsha1(const struct iovec *iov, int iovcnt, void *dest)
-{
- sha1_context c;
- int i;
-
- sha1_starts(&c);
- for (i = 0; i < iovcnt; i++)
- sha1_update(&c, iov[i].iov_base, iov[i].iov_len);
- sha1_finish(&c, dest);
-}