38 |
extern int keylayout; |
extern int keylayout; |
39 |
extern BOOL encryption; |
extern BOOL encryption; |
40 |
extern BOOL licence_issued; |
extern BOOL licence_issued; |
41 |
|
extern int server_bpp; |
42 |
|
|
43 |
static int rc4_key_len; |
static int rc4_key_len; |
44 |
static RC4_KEY rc4_decrypt_key; |
static RC4_KEY rc4_decrypt_key; |
426 |
out_uint32_le(s, 12); |
out_uint32_le(s, 12); |
427 |
out_uint8s(s, 64); /* reserved? 4 + 12 doublewords */ |
out_uint8s(s, 64); /* reserved? 4 + 12 doublewords */ |
428 |
|
|
429 |
out_uint16_le(s, 0xca01); |
switch (server_bpp) |
430 |
|
{ |
431 |
|
case 8: |
432 |
|
out_uint16_le(s, 0xca01); |
433 |
|
break; |
434 |
|
case 15: |
435 |
|
out_uint16_le(s, 0xca02); |
436 |
|
break; |
437 |
|
case 16: |
438 |
|
out_uint16_le(s, 0xca03); |
439 |
|
break; |
440 |
|
case 24: |
441 |
|
out_uint16_le(s, 0xca04); |
442 |
|
break; |
443 |
|
} |
444 |
out_uint16(s, 0); |
out_uint16(s, 0); |
445 |
|
|
446 |
/* Client encryption settings */ |
/* Client encryption settings */ |