Skip to content

Commit c3d056b

Browse files
committed
Fixed updater not working with Authenticode signed binaries #2
1 parent 928bac5 commit c3d056b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

MTA10/core/CVersionUpdater.Util.hpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ namespace
819819
, iFilesize ( 0 )
820820
{
821821
exe.iFilesize = 0;
822+
sig.iFilesize = 0;
822823
rar.iFilesize = 0;
823824
}
824825
// Input
@@ -862,6 +863,14 @@ namespace
862863
SString strMD5;
863864
} exe;
864865

866+
struct
867+
{
868+
SString strFilename;
869+
CValueInt iFilesize;
870+
CDataInfoSet serverInfoMap;
871+
SString strMD5;
872+
} sig;
873+
865874
struct
866875
{
867876
SString strFilename;

0 commit comments

Comments
 (0)