Skip to content

Commit

Permalink
v4.34-9745-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
dnobori committed Apr 5, 2020
1 parent e3370fb commit ec3d052
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 14 deletions.
9 changes: 6 additions & 3 deletions src/Cedar/Admin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,11 +1109,14 @@ ADMIN *JsonRpcAuthLogin(CEDAR *c, SOCK *sock, HTTP_HEADER *h)
{
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);
Expand Down
12 changes: 6 additions & 6 deletions src/Cedar/Cedar.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
#define CEDAR_VER 434

// Build Number
#define CEDAR_BUILD 9744
#define CEDAR_BUILD 9745

// Beta number
//#define BETA_NUMBER 3
Expand All @@ -149,11 +149,11 @@

// Specifies the build date
#define BUILD_DATE_Y 2020
#define BUILD_DATE_M 3
#define BUILD_DATE_D 20
#define BUILD_DATE_HO 19
#define BUILD_DATE_MI 2
#define BUILD_DATE_SE 37
#define BUILD_DATE_M 4
#define BUILD_DATE_D 5
#define BUILD_DATE_HO 23
#define BUILD_DATE_MI 20
#define BUILD_DATE_SE 52

// Tolerable time difference
#define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000)
Expand Down
4 changes: 2 additions & 2 deletions src/CurrentBuild.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BUILD_NUMBER 9744
BUILD_NUMBER 9745
VERSION 434
BUILD_NAME beta
BUILD_DATE 20200320_190237
BUILD_DATE 20200405_232052
Binary file modified src/bin/vpnweb.cab
Binary file not shown.
Binary file modified src/bin/vpnweb.ocx
Binary file not shown.
2 changes: 1 addition & 1 deletion src/vpnweb/vpnweb.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


/* 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:
Oicf, W1, Zp8, env=Win32 (32b run)
Expand Down
2 changes: 1 addition & 1 deletion src/vpnweb/vpnweb_i.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


/* 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:
Oicf, W1, Zp8, env=Win32 (32b run)
Expand Down
2 changes: 1 addition & 1 deletion src/vpnweb/vpnweb_p.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


/* 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:
Oicf, W1, Zp8, env=Win32 (32b run)
Expand Down

0 comments on commit ec3d052

Please sign in to comment.