mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Cedar/IPC: Remove unused "UserName" and "Password" variables and assignment code
This commit also removes "HubName"'s first assignment, because the value is retrieved from PACK later (identifier: "IpcHubName").
This commit is contained in:
parent
afe576dcdc
commit
8495388933
@ -298,9 +298,6 @@ IPC *NewIPC(CEDAR *cedar, char *client_name, char *postfix, char *hubname, char
|
|||||||
ipc->FlushList = NewTubeFlushList();
|
ipc->FlushList = NewTubeFlushList();
|
||||||
|
|
||||||
StrCpy(ipc->ClientHostname, sizeof(ipc->ClientHostname), client_hostname);
|
StrCpy(ipc->ClientHostname, sizeof(ipc->ClientHostname), client_hostname);
|
||||||
StrCpy(ipc->HubName, sizeof(ipc->HubName), hubname);
|
|
||||||
StrCpy(ipc->UserName, sizeof(ipc->UserName), username);
|
|
||||||
StrCpy(ipc->Password, sizeof(ipc->Password), password);
|
|
||||||
|
|
||||||
// Connect the in-process socket
|
// Connect the in-process socket
|
||||||
s = ConnectInProc(a, client_ip, client_port, server_ip, server_port);
|
s = ConnectInProc(a, client_ip, client_port, server_ip, server_port);
|
||||||
|
@ -119,8 +119,6 @@ struct IPC
|
|||||||
{
|
{
|
||||||
CEDAR *Cedar;
|
CEDAR *Cedar;
|
||||||
char HubName[MAX_HUBNAME_LEN + 1];
|
char HubName[MAX_HUBNAME_LEN + 1];
|
||||||
char UserName[MAX_USERNAME_LEN + 1];
|
|
||||||
char Password[MAX_PASSWORD_LEN + 1];
|
|
||||||
char ClientHostname[MAX_SIZE];
|
char ClientHostname[MAX_SIZE];
|
||||||
UCHAR random[SHA1_SIZE];
|
UCHAR random[SHA1_SIZE];
|
||||||
char SessionName[MAX_SESSION_NAME_LEN + 1];
|
char SessionName[MAX_SESSION_NAME_LEN + 1];
|
||||||
|
Loading…
Reference in New Issue
Block a user