mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
[idd] network: use shared identity constants
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
/**
|
||||
* Looking Glass
|
||||
* Copyright © 2017-2026 The Looking Glass Authors
|
||||
* https://looking-glass.io
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation; either version 2 of the License, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with this program; if not, write to the Free Software Foundation, Inc., 59
|
||||
* Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef LG_NETWORK_IDENTITY_H
|
||||
#define LG_NETWORK_IDENTITY_H
|
||||
|
||||
#define LG_NETWORK_CERTIFICATE_KEY_NAME L"LookingGlassNetworkIdentity"
|
||||
#define LG_NETWORK_CERTIFICATE_SUBJECT L"CN=Looking Glass Network"
|
||||
#define LG_NETWORK_CERTIFICATE_FRIENDLY_NAME L"Looking Glass Network Identity"
|
||||
#define LG_NETWORK_CERTIFICATE_HASH_VALUE L"NetworkCertificateHash"
|
||||
#define LG_NETWORK_CERTIFICATE_FINGERPRINT_VALUE L"NetworkCertificateFingerprint"
|
||||
|
||||
#endif
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
#include "CDebug.h"
|
||||
#include "CSRWLock.h"
|
||||
#include "NetworkIdentity.h"
|
||||
#include <LGProtocol/NetworkIdentity.h>
|
||||
#include <LGProtocol/NetworkProtocol.h>
|
||||
|
||||
#include <msquic.h>
|
||||
|
||||
@@ -70,6 +70,11 @@
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)..\repos\LGProtocol\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@@ -158,7 +163,6 @@ copy /Y "$(SolutionDir)..\LICENSE" "$(SolutionDir)$(Platform)\$(Configuration)\
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="NetworkIdentity.h" />
|
||||
<ClInclude Include="..\LGCommon\NetworkIdentity.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
||||
@@ -26,8 +26,5 @@
|
||||
<ClInclude Include="NetworkIdentity.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\LGCommon\NetworkIdentity.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
||||
#include "NetworkIdentity.h"
|
||||
#include "../LGCommon/NetworkIdentity.h"
|
||||
|
||||
#include <LGProtocol/NetworkIdentity.h>
|
||||
|
||||
#include <windows.h>
|
||||
#include <ncrypt.h>
|
||||
|
||||
Reference in New Issue
Block a user