1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-12 10:44:58 +03:00

Remove obsolete hardcoded build number checks

The open-source project began with version 1.00, build 9022.

With the exception of an informative message fallback for builds older than 9428 (2014), all checks were for closed-source builds.
This commit is contained in:
Davide Beatrici
2021-06-27 07:21:06 +02:00
parent 56bb573b17
commit 4221579e95
11 changed files with 10 additions and 118 deletions

View File

@ -11844,7 +11844,6 @@ bool LoginCM()
// Try to login with an empty password first
bool bad_pass, no_remote;
wchar_t server_name[MAX_SIZE];
RPC_CLIENT_VERSION a;
RETRY:
if (cm->server_name != NULL)
@ -11896,13 +11895,8 @@ RETRY:
}
}
Zero(&a, sizeof(a));
CcGetClientVersion(cm->Client, &a);
if (a.ClientBuildInt >= 5192)
{
cm->CmSettingSupported = true;
cm->CmEasyModeSupported = true;
}
cm->CmSettingSupported = true;
cm->CmEasyModeSupported = true;
return true;
}