summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorTobias Junghans <tobydox@veyon.io>2018-11-07 11:11:19 +0100
committerTobias Junghans <tobydox@veyon.io>2018-11-07 12:45:59 +0100
commita70d3b2710b8fec3d7f15ff12da1becaccfe12e8 (patch)
tree4b3a61d7eeeff9e2bcb35e41f6764f98314a9549 /common
parentf0aab31786c4986236d458caeb21b10d8e9e5502 (diff)
downloadlibtdevnc-a70d3b2710b8fec3d7f15ff12da1becaccfe12e8.tar.gz
libtdevnc-a70d3b2710b8fec3d7f15ff12da1becaccfe12e8.zip
common: d3des: drop unused rfbCPKey()
Diffstat (limited to 'common')
-rw-r--r--common/d3des.c8
-rw-r--r--common/d3des.h6
2 files changed, 0 insertions, 14 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