Now pass the mac functions when no support exists
diff --git a/.gitignore b/.gitignore
index 94ef967..5dafb6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,6 +54,7 @@
*.suo
*.vcxproj
*.vcxproj.filters
+*.vcxproj.user
*.opensdf
*.VC.db
*.VC.opendb
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc1146d..96967d4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -106,7 +106,7 @@
ExternalProject_Add(
project_cn-cbor
GIT_REPOSITORY https://github.com/jimsch/cn-cbor
- GIT_TAG PrettyPrint
+ GIT_TAG complete
CMAKE_ARGS -Doptimize=OFF -Duse_context=${use_context} -Dbuild_docs=OFF -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -Dcoveralls=OFF -Dbuild_shared_libs=${build_shared_libs} -Dfatal_warnings=OFF
INSTALL_DIR "${dist_dir}"
UPDATE_DISCONNECTED 1
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4311f1b..7322d27 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -35,6 +35,10 @@
target_link_libraries ( cose-c PRIVATE embedtls )
endif()
+if ( MSVC )
+ target_link_libraries( cose-c PRIVATE ws2_32 )
+endif ()
+
install ( TARGETS cose-c
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
diff --git a/test/mac_test.c b/test/mac_test.c
index eb288af..9c9dd4d 100644
--- a/test/mac_test.c
+++ b/test/mac_test.c
@@ -26,6 +26,8 @@
int iRecipient;
bool fFail = false;
bool fFailBody = false;
+ bool fAlgNoSupport = false;
+ int returnCode = 1;
pFail = cn_cbor_mapget_string(pControl, "fail");
if ((pFail != NULL) && (pFail->type == CN_CBOR_TRUE)) {
@@ -33,7 +35,9 @@
}
hMAC = (HCOSE_MAC) COSE_Decode(pbEncoded, cbEncoded, &type, COSE_mac_object, CBOR_CONTEXT_PARAM_COMMA NULL);
- if (hMAC == NULL) if (fFailBody) return 0; else goto failTest;
+ if (hMAC == NULL) {
+ if (fFailBody) return 0; else goto failTest;
+ }
if ((pInput == NULL) || (pInput->type != CN_CBOR_MAP)) goto failTest;
pMac = cn_cbor_mapget_string(pInput, "mac");
@@ -74,11 +78,24 @@
}
pFail = cn_cbor_mapget_string(pRecipients, "fail");
+
+ cn_cbor * alg = COSE_Mac_map_get_int(hMAC, COSE_Header_Algorithm, COSE_BOTH, NULL);
+ if (!IsAlgorithmSupported(alg->v.sint)) fAlgNoSupport = true;
+
+ alg = COSE_Recipient_map_get_int(hRecip, COSE_Header_Algorithm, COSE_BOTH, NULL);
+ if (!IsAlgorithmSupported(alg->v.sint)) fAlgNoSupport = true;
+
if (COSE_Mac_validate(hMAC, hRecip, NULL)) {
- if ((pFail != NULL) && (pFail->type != CN_CBOR_TRUE)) fFail = true;
+ if (fAlgNoSupport) {
+ fFail = true;
+ }
+ else if ((pFail != NULL) && (pFail->type != CN_CBOR_TRUE)) fFail = true;
}
else {
- if ((pFail == NULL) || (pFail->type == CN_CBOR_FALSE)) fFail = true;
+ if (fAlgNoSupport) {
+ returnCode = 0;
+ }
+ else if ((pFail == NULL) || (pFail->type == CN_CBOR_FALSE)) fFail = true;
}
COSE_Recipient_Free(hRecip);
@@ -92,7 +109,7 @@
}
if (fFail) CFails += 1;
- return 0;
+ return returnCode;
failTest:
CFails += 1;
@@ -263,6 +280,7 @@
int type;
bool fFail = false;
bool fFailBody = false;
+ bool fUnsuportedAlg = false;
pFail = cn_cbor_mapget_string(pControl, "fail");
if ((pFail != NULL) && (pFail->type == CN_CBOR_TRUE)) {
@@ -270,7 +288,9 @@
}
hMAC = (HCOSE_MAC0)COSE_Decode(pbEncoded, cbEncoded, &type, COSE_mac0_object, CBOR_CONTEXT_PARAM_COMMA NULL);
- if (hMAC == NULL) if (fFailBody) return 0; else goto errorReturn;
+ if (hMAC == NULL) {
+ if (fFailBody) return 0; else goto errorReturn;
+ }
if ((pInput == NULL) || (pInput->type != CN_CBOR_MAP)) goto errorReturn;
pMac = cn_cbor_mapget_string(pInput, "mac0");
@@ -284,20 +304,30 @@
pRecipients = pRecipients->first_child;
cn_cbor * pkey = BuildKey(cn_cbor_mapget_string(pRecipients, "key"), true);
- if (pkey == NULL) {
+ if (pkey == NULL) {
+ fFail = true;
+ goto exitHere;
+ }
+
+ cn_cbor *k = cn_cbor_mapget_int(pkey, -1);
+
+ cn_cbor * alg = COSE_Mac0_map_get_int(hMAC, COSE_Header_Algorithm, COSE_BOTH, NULL);
+ if (!IsAlgorithmSupported(alg->v.sint)) fUnsuportedAlg = true;
+
+ pFail = cn_cbor_mapget_string(pRecipients, "fail");
+ if (COSE_Mac0_validate(hMAC, k->v.bytes, k->length, NULL)) {
+ if (fUnsuportedAlg) {
fFail = true;
- goto exitHere;
+ fUnsuportedAlg = false;
}
+ else if ((pFail != NULL) && (pFail->type != CN_CBOR_TRUE)) fFail = true;
+ }
+ else {
- cn_cbor *k = cn_cbor_mapget_int(pkey, -1);
+ if ((pFail == NULL) || (pFail->type == CN_CBOR_FALSE)) fFail = true;
+ if (fUnsuportedAlg) fFail = false;
+ }
- pFail = cn_cbor_mapget_string(pRecipients, "fail");
- if (COSE_Mac0_validate(hMAC, k->v.bytes, k->length, NULL)) {
- if ((pFail != NULL) && (pFail->type != CN_CBOR_TRUE)) fFail = true;
- }
- else {
- if ((pFail == NULL) || (pFail->type == CN_CBOR_FALSE)) fFail = true;
- }
COSE_Mac0_Free(hMAC);
@@ -306,13 +336,13 @@
if (!fFail) fFail = true;
else fFail = false;
}
- exitHere:
+exitHere:
if (fFail) CFails += 1;
return 0;
errorReturn:
CFails += 1;
- return 0;
+ return (fFail || fUnsuportedAlg) ? 0 : 1;
}
int ValidateMac0(const cn_cbor * pControl)
diff --git a/test/test.c b/test/test.c
index b7e278f..48570aa 100644
--- a/test/test.c
+++ b/test/test.c
@@ -673,12 +673,14 @@
}
if (cn_cbor_mapget_string(pInput, "mac") != NULL) {
- ValidateMAC(pControl);
- BuildMacMessage(pControl);
+ if (ValidateMAC(pControl)) {
+ BuildMacMessage(pControl);
+ }
}
else if (cn_cbor_mapget_string(pInput, "mac0") != NULL) {
- ValidateMac0(pControl);
- BuildMac0Message(pControl);
+ if (ValidateMac0(pControl)) {
+ BuildMac0Message(pControl);
+ }
}
else if (cn_cbor_mapget_string(pInput, "enveloped") != NULL) {
if (ValidateEnveloped(pControl)) {
diff --git a/test/test.h b/test/test.h
index 3612b9d..86c6300 100644
--- a/test/test.h
+++ b/test/test.h
@@ -73,6 +73,7 @@
byte * FromHex(const char * rgch, int cch);
bool SetSendingAttributes(HCOSE hMsg, const cn_cbor * pIn, int base);
bool SetReceivingAttributes(HCOSE hMsg, const cn_cbor * pIn, int base);
+int IsAlgorithmSupported(int alg);
//
// Internal macros to make testing easier
diff --git a/test/test.sdf b/test/test.sdf
deleted file mode 100644
index 4c6a25a..0000000
--- a/test/test.sdf
+++ /dev/null
Binary files differ
diff --git a/test/test.sln b/test/test.sln
deleted file mode 100644
index f11cfd4..0000000
--- a/test/test.sln
+++ /dev/null
@@ -1,57 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2013
-VisualStudioVersion = 12.0.31101.0
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test.vcxproj", "{754DE184-43E9-48D8-A348-267A0AE6914D}"
- ProjectSection(ProjectDependencies) = postProject
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE} = {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D} = {A45661E2-52CA-4531-9CC0-98EC8F88D50D}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "C", "..\src\C.vcxproj", "{A45661E2-52CA-4531-9CC0-98EC8F88D50D}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cn-cbor", "..\..\cn-cbor\implement\cn-cbor\cn-cbor\cn-cbor.vcxproj", "{7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|ARM = Debug|ARM
- Debug|Win32 = Debug|Win32
- Debug|x64 = Debug|x64
- Release|ARM = Release|ARM
- Release|Win32 = Release|Win32
- Release|x64 = Release|x64
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Debug|ARM.ActiveCfg = Debug|Win32
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Debug|Win32.ActiveCfg = Debug|Win32
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Debug|Win32.Build.0 = Debug|Win32
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Debug|x64.ActiveCfg = Debug|x64
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Debug|x64.Build.0 = Debug|x64
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Release|ARM.ActiveCfg = Release|Win32
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Release|Win32.ActiveCfg = Release|Win32
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Release|Win32.Build.0 = Release|Win32
- {754DE184-43E9-48D8-A348-267A0AE6914D}.Release|x64.ActiveCfg = Release|Win32
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Debug|ARM.ActiveCfg = Debug|Win32
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Debug|Win32.ActiveCfg = Debug|Win32
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Debug|Win32.Build.0 = Debug|Win32
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Debug|x64.ActiveCfg = Debug|x64
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Debug|x64.Build.0 = Debug|x64
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Release|ARM.ActiveCfg = Release|Win32
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Release|Win32.ActiveCfg = Release|Win32
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Release|Win32.Build.0 = Release|Win32
- {A45661E2-52CA-4531-9CC0-98EC8F88D50D}.Release|x64.ActiveCfg = Release|Win32
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Debug|ARM.ActiveCfg = Debug|Win32
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Debug|Win32.ActiveCfg = Debug|Win32
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Debug|Win32.Build.0 = Debug|Win32
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Debug|x64.ActiveCfg = Debug|x64
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Debug|x64.Build.0 = Debug|x64
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Release|ARM.ActiveCfg = Release|Win32
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Release|Win32.ActiveCfg = Release|Win32
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Release|Win32.Build.0 = Release|Win32
- {7A9542C0-5F4A-42AB-AC61-D938B77A7CBE}.Release|x64.ActiveCfg = Release|Win32
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/test/test.vcxproj b/test/test.vcxproj
deleted file mode 100644
index 6542bb9..0000000
--- a/test/test.vcxproj
+++ /dev/null
@@ -1,174 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{754DE184-43E9-48D8-A348-267A0AE6914D}</ProjectGuid>
- <Keyword>Win32Proj</Keyword>
- <RootNamespace>test</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <PlatformToolset>v140</PlatformToolset>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LinkIncremental>true</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LinkIncremental>false</LinkIncremental>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>C:\Projects\COSE\COSE-C\src;C:\Projects\COSE\cn-cbor\implement\cn-cbor\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <CompileAs>Default</CompileAs>
- <CallingConvention>Cdecl</CallingConvention>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalDependencies>c:\projects\openssl\openssl-1.0.1h\lib\libeay32.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <WarningLevel>Level3</WarningLevel>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- <AdditionalIncludeDirectories>C:\Projects\COSE\COSE-C\src;C:\Projects\COSE\cn-cbor\implement\cn-cbor\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <CompileAs>Default</CompileAs>
- <CallingConvention>Cdecl</CallingConvention>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <AdditionalDependencies>c:\projects\openssl\openssl-1.0.1h\lib\libeay32.lib;Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>
- </PrecompiledHeader>
- <Optimization>MaxSpeed</Optimization>
- <FunctionLevelLinking>true</FunctionLevelLinking>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <SDLCheck>true</SDLCheck>
- </ClCompile>
- <Link>
- <SubSystem>Console</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup>
- <Text Include="ReadMe.txt" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="stdafx.h" />
- <ClInclude Include="targetver.h" />
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="test.c" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\cn-cbor\implement\cn-cbor\cn-cbor\cn-cbor.vcxproj">
- <Project>{7a9542c0-5f4a-42ab-ac61-d938b77a7cbe}</Project>
- </ProjectReference>
- <ProjectReference Include="..\src\C.vcxproj">
- <Project>{a45661e2-52ca-4531-9cc0-98ec8f88d50d}</Project>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
\ No newline at end of file
diff --git a/test/test.vcxproj.filters b/test/test.vcxproj.filters
deleted file mode 100644
index 1d6c70c..0000000
--- a/test/test.vcxproj.filters
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <Filter Include="Source Files">
- <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
- <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
- </Filter>
- <Filter Include="Header Files">
- <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
- <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
- </Filter>
- <Filter Include="Resource Files">
- <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
- </Filter>
- </ItemGroup>
- <ItemGroup>
- <Text Include="ReadMe.txt" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="stdafx.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- <ClInclude Include="targetver.h">
- <Filter>Header Files</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <ClCompile Include="test.c">
- <Filter>Source Files</Filter>
- </ClCompile>
- </ItemGroup>
-</Project>
\ No newline at end of file
diff --git a/test/test.vcxproj.user b/test/test.vcxproj.user
deleted file mode 100644
index ef5ff2a..0000000
--- a/test/test.vcxproj.user
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup />
-</Project>
\ No newline at end of file