Browse Source

common: d3des: drop unused rfbCPKey()

pull/3/head
Tobias Junghans 4 years ago
parent
commit
a70d3b2710
  1. 8
      common/d3des.c
  2. 6
      common/d3des.h
  3. 1
      libvncclient/rfbproto.c

8
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)
{

6
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

1
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"

Loading…
Cancel
Save