summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Mikaelsson <derfian@cendio.se>2017-10-09 10:44:53 +0200
committerKarl Mikaelsson <derfian@cendio.se>2017-10-17 12:16:51 +0200
commitfd0846cceea24429c056fd145b80611012942a69 (patch)
tree3185a14ac7977ca4e15b8f29a05103f6f0c2f1f5
parentfd1673392e4e65faca4612e4acb9c5fa4462def5 (diff)
downloadrdesktop-fd0846cceea24429c056fd145b80611012942a69.zip
Rename sec_out_mcs_data to sec_out_mcs_connect_initial_pdu
-rw-r--r--secure.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/secure.c b/secure.c
index 256f720..9ad1386 100644
--- a/secure.c
+++ b/secure.c
@@ -389,7 +389,7 @@ sec_establish_key(void)
/* Output connect initial data blob */
static void
-sec_out_mcs_data(STREAM s, uint32 selected_protocol)
+sec_out_mcs_connect_initial_pdu(STREAM s, uint32 selected_protocol)
{
int hostlen = 2 * strlen(g_hostname);
int length = 162 + 76 + 12 + 4;
@@ -921,7 +921,7 @@ sec_connect(char *server, char *username, char *domain, char *password, RD_BOOL
/* We exchange some RDP data during the MCS-Connect */
mcs_data.size = 512;
mcs_data.p = mcs_data.data = (uint8 *) xmalloc(mcs_data.size);
- sec_out_mcs_data(&mcs_data, selected_proto);
+ sec_out_mcs_connect_initial_pdu(&mcs_data, selected_proto);
/* finialize the MCS connect sequence */
if (!mcs_connect_finalize(&mcs_data))