mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
Windows build fix.
This commit is contained in:
parent
010dbc8b2b
commit
fe19ad328c
@ -142,8 +142,8 @@ static void _moonToJson(nlohmann::json &mj,const World &world)
|
||||
Utils::snprintf(tmp,sizeof(tmp),"%.16llx",world.id());
|
||||
mj["id"] = tmp;
|
||||
mj["timestamp"] = world.timestamp();
|
||||
mj["signature"] = Utils::hex(world.signature().data,world.signature().size());
|
||||
mj["updatesMustBeSignedBy"] = Utils::hex(world.updatesMustBeSignedBy().data,world.updatesMustBeSignedBy().size());
|
||||
mj["signature"] = Utils::hex(world.signature().data,(unsigned int)world.signature().size());
|
||||
mj["updatesMustBeSignedBy"] = Utils::hex(world.updatesMustBeSignedBy().data,(unsigned int)world.updatesMustBeSignedBy().size());
|
||||
nlohmann::json ra = nlohmann::json::array();
|
||||
for(std::vector<World::Root>::const_iterator r(world.roots().begin());r!=world.roots().end();++r) {
|
||||
nlohmann::json rj;
|
||||
|
@ -41,6 +41,7 @@
|
||||
<ClCompile Include="..\..\node\C25519.cpp" />
|
||||
<ClCompile Include="..\..\node\Capability.cpp" />
|
||||
<ClCompile Include="..\..\node\CertificateOfMembership.cpp" />
|
||||
<ClCompile Include="..\..\node\CertificateOfOwnership.cpp" />
|
||||
<ClCompile Include="..\..\node\Cluster.cpp" />
|
||||
<ClCompile Include="..\..\node\Identity.cpp" />
|
||||
<ClCompile Include="..\..\node\IncomingPacket.cpp" />
|
||||
@ -109,6 +110,7 @@
|
||||
<ClInclude Include="..\..\node\Buffer.hpp" />
|
||||
<ClInclude Include="..\..\node\C25519.hpp" />
|
||||
<ClInclude Include="..\..\node\CertificateOfMembership.hpp" />
|
||||
<ClInclude Include="..\..\node\CertificateOfOwnership.hpp" />
|
||||
<ClInclude Include="..\..\node\Cluster.hpp" />
|
||||
<ClInclude Include="..\..\node\CMWC4096.hpp" />
|
||||
<ClInclude Include="..\..\node\Constants.hpp" />
|
||||
|
@ -246,6 +246,9 @@
|
||||
<ClCompile Include="..\..\service\SoftwareUpdater.cpp">
|
||||
<Filter>Source Files\service</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\node\CertificateOfOwnership.cpp">
|
||||
<Filter>Source Files\node</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="resource.h">
|
||||
@ -482,6 +485,9 @@
|
||||
<ClInclude Include="..\..\ext\json\json.hpp">
|
||||
<Filter>Header Files\ext\json</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\node\CertificateOfOwnership.hpp">
|
||||
<Filter>Header Files\node</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="ZeroTierOne.rc">
|
||||
|
Loading…
Reference in New Issue
Block a user