diff options
author | Tobias Junghans <tobydox@veyon.io> | 2018-11-07 11:11:19 +0100 |
---|---|---|
committer | Tobias Junghans <tobydox@veyon.io> | 2018-11-07 12:45:59 +0100 |
commit | a70d3b2710b8fec3d7f15ff12da1becaccfe12e8 (patch) | |
tree | 4b3a61d7eeeff9e2bcb35e41f6764f98314a9549 | |
parent | f0aab31786c4986236d458caeb21b10d8e9e5502 (diff) | |
download | libtdevnc-a70d3b2710b8fec3d7f15ff12da1becaccfe12e8.tar.gz libtdevnc-a70d3b2710b8fec3d7f15ff12da1becaccfe12e8.zip |
common: d3des: drop unused rfbCPKey()
-rw-r--r-- | common/d3des.c | 8 | ||||
-rw-r--r-- | common/d3des.h | 6 | ||||
-rw-r--r-- | libvncclient/rfbproto.c | 1 |
3 files changed, 0 insertions, 15 deletions
diff --git a/common/d3des.c b/common/d3des.c index 7cb3bf0..db999a5 100644 --- a/common/d3des.c +++ b/common/d3des.c @@ -129,14 +129,6 @@ static void cookey(register unsigned long *raw1) return; } -void rfbCPKey(register unsigned long *into) -{ - register unsigned long *from, *endp; - - from = KnL, endp = &KnL[32]; - while( from < endp ) *into++ = *from++; - return; - } void rfbUseKey(register unsigned long *from) { diff --git a/common/d3des.h b/common/d3des.h index e3761ca..bb7d182 100644 --- a/common/d3des.h +++ b/common/d3des.h @@ -37,12 +37,6 @@ extern void rfbUseKey(unsigned long *); * Loads the internal key register with the data in cookedkey. */ -extern void rfbCPKey(unsigned long *); -/* cookedkey[32] - * Copies the contents of the internal key register into the storage - * located at &cookedkey[0]. - */ - extern void rfbDes(unsigned char *, unsigned char *); /* from[8] to[8] * Encrypts/Decrypts (according to the key currently loaded in the diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c index ac2a983..a024bb4 100644 --- a/libvncclient/rfbproto.c +++ b/libvncclient/rfbproto.c @@ -2426,7 +2426,6 @@ PrintPixelFormat(rfbPixelFormat *format) #define rfbDes rfbClientDes #define rfbDesKey rfbClientDesKey #define rfbUseKey rfbClientUseKey -#define rfbCPKey rfbClientCPKey #include "vncauth.c" #include "d3des.c" |