1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-29 04:15:08 +03:00

v4.34-9745-beta

This commit is contained in:
dnobori 2020-04-06 00:18:10 +09:00
parent e3370fb62c
commit ec3d052e21
8 changed files with 17 additions and 14 deletions

View File

@ -1109,11 +1109,14 @@ ADMIN *JsonRpcAuthLogin(CEDAR *c, SOCK *sock, HTTP_HEADER *h)
{ {
Lock(h->lock); Lock(h->lock);
{ {
if (Cmp(pw_hash, h->HashedPassword, SHA1_SIZE) == 0) if (Cmp(h->HashedPassword, empty_pw_hash, SHA1_SIZE) != 0 && IsZero(h->HashedPassword, sizeof(h->HashedPassword)) == false)
{ {
is_hub_admin = true; if (Cmp(pw_hash, h->HashedPassword, SHA1_SIZE) == 0)
{
is_hub_admin = true;
StrCpy(hub_name, sizeof(hub_name), h->Name); StrCpy(hub_name, sizeof(hub_name), h->Name);
}
} }
} }
Unlock(h->lock); Unlock(h->lock);

View File

@ -129,7 +129,7 @@
#define CEDAR_VER 434 #define CEDAR_VER 434
// Build Number // Build Number
#define CEDAR_BUILD 9744 #define CEDAR_BUILD 9745
// Beta number // Beta number
//#define BETA_NUMBER 3 //#define BETA_NUMBER 3
@ -149,11 +149,11 @@
// Specifies the build date // Specifies the build date
#define BUILD_DATE_Y 2020 #define BUILD_DATE_Y 2020
#define BUILD_DATE_M 3 #define BUILD_DATE_M 4
#define BUILD_DATE_D 20 #define BUILD_DATE_D 5
#define BUILD_DATE_HO 19 #define BUILD_DATE_HO 23
#define BUILD_DATE_MI 2 #define BUILD_DATE_MI 20
#define BUILD_DATE_SE 37 #define BUILD_DATE_SE 52
// Tolerable time difference // Tolerable time difference
#define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000) #define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000)

View File

@ -1,4 +1,4 @@
BUILD_NUMBER 9744 BUILD_NUMBER 9745
VERSION 434 VERSION 434
BUILD_NAME beta BUILD_NAME beta
BUILD_DATE 20200320_190237 BUILD_DATE 20200405_232052

Binary file not shown.

Binary file not shown.

View File

@ -4,7 +4,7 @@
/* File created by MIDL compiler version 7.00.0500 */ /* File created by MIDL compiler version 7.00.0500 */
/* at Fri Mar 20 19:02:54 2020 /* at Sun Apr 05 23:21:10 2020
*/ */
/* Compiler settings for .\vpnweb.idl: /* Compiler settings for .\vpnweb.idl:
Oicf, W1, Zp8, env=Win32 (32b run) Oicf, W1, Zp8, env=Win32 (32b run)

View File

@ -6,7 +6,7 @@
/* File created by MIDL compiler version 7.00.0500 */ /* File created by MIDL compiler version 7.00.0500 */
/* at Fri Mar 20 19:02:54 2020 /* at Sun Apr 05 23:21:10 2020
*/ */
/* Compiler settings for .\vpnweb.idl: /* Compiler settings for .\vpnweb.idl:
Oicf, W1, Zp8, env=Win32 (32b run) Oicf, W1, Zp8, env=Win32 (32b run)

View File

@ -4,7 +4,7 @@
/* File created by MIDL compiler version 7.00.0500 */ /* File created by MIDL compiler version 7.00.0500 */
/* at Fri Mar 20 19:02:54 2020 /* at Sun Apr 05 23:21:10 2020
*/ */
/* Compiler settings for .\vpnweb.idl: /* Compiler settings for .\vpnweb.idl:
Oicf, W1, Zp8, env=Win32 (32b run) Oicf, W1, Zp8, env=Win32 (32b run)