20 |
|
|
21 |
#include "rdesktop.h" |
#include "rdesktop.h" |
22 |
|
|
|
#ifdef WITH_OPENSSL |
|
23 |
#include <openssl/rc4.h> |
#include <openssl/rc4.h> |
24 |
#include <openssl/md5.h> |
#include <openssl/md5.h> |
25 |
#include <openssl/sha.h> |
#include <openssl/sha.h> |
26 |
#include <openssl/bn.h> |
#include <openssl/bn.h> |
27 |
#include <openssl/x509v3.h> |
#include <openssl/x509v3.h> |
|
#else |
|
|
#include "crypto/rc4.h" |
|
|
#include "crypto/md5.h" |
|
|
#include "crypto/sha.h" |
|
|
#include "crypto/bn.h" |
|
|
#endif |
|
28 |
|
|
29 |
extern char g_hostname[16]; |
extern char g_hostname[16]; |
30 |
extern int g_width; |
extern int g_width; |
853 |
if (channel != MCS_GLOBAL_CHANNEL) |
if (channel != MCS_GLOBAL_CHANNEL) |
854 |
{ |
{ |
855 |
channel_process(s, channel); |
channel_process(s, channel); |
856 |
continue; |
*rdpver = 0xff; |
857 |
|
return s; |
858 |
} |
} |
859 |
|
|
860 |
return s; |
return s; |