1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 16:25:01 +03:00

v4.06-9432-beta

This commit is contained in:
dnobori
2014-03-20 17:05:40 +09:00
parent cf2a6a42bc
commit dc5d3ee2ae
279 changed files with 272 additions and 268 deletions

View File

@ -7521,6 +7521,8 @@ UINT CmEditAccountDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, voi
{
if (InStr(tmp, "/tcp") == false)
{
Trim(tmp);
StrCat(tmp, sizeof(tmp), "/tcp");
SetTextA(hWnd, E_HOSTNAME, tmp);
@ -7536,6 +7538,8 @@ UINT CmEditAccountDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, voi
{
tmp[i] = 0;
Trim(tmp);
SetTextA(hWnd, E_HOSTNAME, tmp);
}
}

View File

@ -123,7 +123,7 @@
#define CEDAR_VER 406
// Build Number
#define CEDAR_BUILD 9430
#define CEDAR_BUILD 9432
// Beta number
//#define BETA_NUMBER 3
@ -145,9 +145,9 @@
#define BUILD_DATE_Y 2014
#define BUILD_DATE_M 3
#define BUILD_DATE_D 20
#define BUILD_DATE_HO 4
#define BUILD_DATE_MI 8
#define BUILD_DATE_SE 6
#define BUILD_DATE_HO 16
#define BUILD_DATE_MI 0
#define BUILD_DATE_SE 47
// Tolerable time difference
#define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000)

View File

@ -1577,7 +1577,7 @@ bool ServerAccept(CONNECTION *c)
break;
case CLIENT_AUTHTYPE_CERT:
if (GetGlobalServerFlag(GSF_DISABLE_CERT_AUTH) != 0)
if (GetGlobalServerFlag(GSF_DISABLE_CERT_AUTH) == 0)
{
// Certificate authentication
cert_size = PackGetDataSize(p, "cert");