commit b6dcf9d2596101272f6fd82f4dcc83c2337c4a79
parent 172b0eeb45e771ca0df56697bcfb581cc8a96a88
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sat, 24 Sep 2022 20:14:20 +0300
w32: sync projects with autotools
Diffstat:
3 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/w32/common/MHD_config.h b/w32/common/MHD_config.h
@@ -80,6 +80,9 @@
/* Enable SHA-256 hashing support. */
#define MHD_SHA256_SUPPORT 1
+/* Enable SHA-512/256 hashing support. */
+#define MHD_SHA512_256_SUPPORT 1
+
/* Enable postprocessor.c */
#define HAVE_POSTPROCESSOR 1
@@ -177,6 +180,9 @@
#endif /* C11 */
#endif /* VS 2015 and later */
+/* Define to 1 if you have the 'rand' function. */
+#define HAVE_RAND 1
+
/* *** Headers information *** */
/* Not really important as not used by code currently */
diff --git a/w32/common/libmicrohttpd-files.vcxproj b/w32/common/libmicrohttpd-files.vcxproj
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <ClCompile Include="$(MhdSrc)microhttpd\base64.c" />
<ClCompile Include="$(MhdSrc)microhttpd\basicauth.c" />
<ClCompile Include="$(MhdSrc)microhttpd\connection.c" />
<ClCompile Include="$(MhdSrc)microhttpd\daemon.c" />
@@ -10,6 +9,7 @@
<ClCompile Include="$(MhdSrc)microhttpd\internal.c" />
<ClCompile Include="$(MhdSrc)microhttpd\md5.c" />
<ClCompile Include="$(MhdSrc)microhttpd\sha256.c" />
+ <ClCompile Include="$(MhdSrc)microhttpd\sha512_256.c" />
<ClCompile Include="$(MhdSrc)microhttpd\memorypool.c" />
<ClCompile Include="$(MhdSrc)microhttpd\mhd_mono_clock.c" />
<ClCompile Include="$(MhdSrc)microhttpd\postprocessor.c" />
@@ -32,7 +32,6 @@
<ClInclude Include="$(MhdSrc)include\microhttpd.h" />
<ClInclude Include="$(MhdSrc)include\mhd_options.h" />
<ClInclude Include="$(MhdSrc)include\platform.h" />
- <ClInclude Include="$(MhdSrc)microhttpd\base64.h" />
<ClInclude Include="$(MhdSrc)microhttpd\basicauth.h" />
<ClInclude Include="$(MhdSrc)microhttpd\connection.h" />
<ClInclude Include="$(MhdSrc)microhttpd\digestauth.h" />
@@ -42,6 +41,7 @@
<ClInclude Include="$(MhdSrc)microhttpd\md5.h" />
<ClInclude Include="$(MhdSrc)microhttpd\mhd_sha256_wrap.h" />
<ClInclude Include="$(MhdSrc)microhttpd\sha256.h" />
+ <ClInclude Include="$(MhdSrc)microhttpd\sha512_256.h" />
<ClInclude Include="$(MhdSrc)microhttpd\memorypool.h" />
<ClInclude Include="$(MhdSrc)microhttpd\mhd_assert.h" />
<ClInclude Include="$(MhdSrc)microhttpd\mhd_align.h" />
diff --git a/w32/common/libmicrohttpd-filters.vcxproj b/w32/common/libmicrohttpd-filters.vcxproj
@@ -40,9 +40,6 @@
<ClInclude Include="$(MhdW32Common)MHD_config.h">
<Filter>Internal Headers</Filter>
</ClInclude>
- <ClInclude Include="$(MhdSrc)microhttpd\base64.h">
- <Filter>Internal Headers</Filter>
- </ClInclude>
<ClInclude Include="$(MhdSrc)microhttpd\basicauth.h">
<Filter>Internal Headers</Filter>
</ClInclude>
@@ -70,6 +67,9 @@
<ClInclude Include="$(MhdSrc)microhttpd\sha256.h">
<Filter>Internal Headers</Filter>
</ClInclude>
+ <ClInclude Include="$(MhdSrc)microhttpd\sha512_256.h">
+ <Filter>Internal Headers</Filter>
+ </ClInclude>
<ClInclude Include="$(MhdSrc)microhttpd\memorypool.h">
<Filter>Internal Headers</Filter>
</ClInclude>
@@ -135,9 +135,6 @@
</ClInclude>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="$(MhdSrc)microhttpd\base64.c">
- <Filter>Source Files</Filter>
- </ClCompile>
<ClCompile Include="$(MhdSrc)microhttpd\basicauth.c">
<Filter>Source Files</Filter>
</ClCompile>
@@ -162,6 +159,9 @@
<ClCompile Include="$(MhdSrc)microhttpd\sha256.c">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="$(MhdSrc)microhttpd\sha512_256.c">
+ <Filter>Source Files</Filter>
+ </ClCompile>
<ClCompile Include="$(MhdSrc)microhttpd\memorypool.c">
<Filter>Source Files</Filter>
</ClCompile>