[MSTSC] Fix build

svn path=/trunk/; revision=74557
This commit is contained in:
Peter Hater 2017-05-16 17:03:20 +00:00
parent e4bc2f39da
commit 688f2cec04
2 changed files with 5 additions and 5 deletions

View file

@ -495,7 +495,7 @@ rdp_send_logon_info(uint32 flags, char *domain, char *user,
out_uint32_le(s, 1); /* Version */
out_uint32_le(s, g_reconnect_logonid); /* LogonId */
rdssl_hmac_md5(g_reconnect_random, sizeof(g_reconnect_random),
g_client_random, SEC_RANDOM_SIZE, security_verifier);
(char *)g_client_random, SEC_RANDOM_SIZE, (char *)security_verifier);
out_uint8a(s, security_verifier, sizeof(security_verifier));
}
else

View file

@ -54,10 +54,10 @@ void
rdssl_rc4_crypt(void * rc4_info, char * in_data, char * out_data, int len);
int
rdssl_mod_exp(char* out, int out_len, char* in, int in_len,
char* mod, int mod_len, char* exp, int exp_len);
char* mod, int mod_len, char* exp, int exp_len);
int
rdssl_sign_ok(char* e_data, int e_len, char* n_data, int n_len,
char* sign_data, int sign_len, char* sign_data2, int sign_len2, char* testkey);
char* sign_data, int sign_len, char* sign_data2, int sign_len2, char* testkey);
extern char g_hostname[16];
extern int g_width;
@ -892,7 +892,7 @@ STREAM
sec_recv(uint8 * rdpver)
{
uint16 sec_flags;
uint16 sec_flags_hi;
/* uint16 sec_flags_hi; */
uint16 channel;
STREAM s;
@ -914,7 +914,7 @@ sec_recv(uint8 * rdpver)
{
/* TS_SECURITY_HEADER */
in_uint16_le(s, sec_flags);
in_uint16_le(s, sec_flags_hi);
in_uint8s(s, 2); /* sec_flags_hi */
if (g_encryption)
{