|
Removed
Link Here
|
| 1 |
--- common/vncauth.c.orig 2019-01-06 19:09:30 UTC |
| 2 |
+++ common/vncauth.c |
| 3 |
@@ -44,6 +44,10 @@ |
| 4 |
#include <sys/stat.h> |
| 5 |
#endif |
| 6 |
|
| 7 |
+#ifdef __FreeBSD__ |
| 8 |
+#include <fcntl.h> |
| 9 |
+#endif |
| 10 |
+ |
| 11 |
#include <time.h> |
| 12 |
|
| 13 |
#ifdef WIN32 |
| 14 |
@@ -198,6 +202,8 @@ rfbEncryptBytes(unsigned char *bytes, char *passwd) |
| 15 |
rfbDes(bytes+i, bytes+i); |
| 16 |
} |
| 17 |
} |
| 18 |
+ |
| 19 |
+void rfbEncryptBytes2(unsigned char *, const int, unsigned char *); |
| 20 |
|
| 21 |
void |
| 22 |
rfbEncryptBytes2(unsigned char *where, const int length, unsigned char *key) { |