Skip to content

Commit 8780c70

Browse files
committed
Add clu_pkcs7.c to Windows project
1 parent 07892ff commit 8780c70

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/pkcs/clu_pkcs7.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include <wolfclu/x509/clu_cert.h>
2727
#include <wolfclu/x509/clu_parse.h>
2828

29-
#ifndef WOLFCLU_NO_FILESYSTEM
29+
#if defined(HAVE_PKCS7) && !defined(WOLFCLU_NO_FILESYSTEM)
3030

3131
static const struct option pkcs7_options[] = {
3232
{"-print_certs", no_argument, 0, WOLFCLU_CERTFILE },

wolfCLU.vcxproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@
159159
<ClCompile Include="src\hash\clu_hash.c" />
160160
<ClCompile Include="src\hash\clu_hash_setup.c" />
161161
<ClCompile Include="src\hash\clu_alg_hash.c" />
162+
<ClCompile Include="src\pkcs\clu_pkcs7.c" />
162163
<ClCompile Include="src\pkcs\clu_pkcs12.c" />
163164
<ClCompile Include="src\pkey\clu_pkey.c" />
164165
<ClCompile Include="src\pkey\clu_rsa.c" />
@@ -203,4 +204,4 @@
203204
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
204205
<ImportGroup Label="ExtensionTargets">
205206
</ImportGroup>
206-
</Project>
207+
</Project>

wolfCLU.vcxproj.filters

+4-1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
<ClCompile Include="src\hash\clu_alg_hash.c">
7676
<Filter>Source Files</Filter>
7777
</ClCompile>
78+
<ClCompile Include="src\pkcs\clu_pkcs7.c">
79+
<Filter>Source Files</Filter>
80+
</ClCompile>
7881
<ClCompile Include="src\pkcs\clu_pkcs12.c">
7982
<Filter>Source Files</Filter>
8083
</ClCompile>
@@ -186,4 +189,4 @@
186189
<Filter>Header Files</Filter>
187190
</ClInclude>
188191
</ItemGroup>
189-
</Project>
192+
</Project>

0 commit comments

Comments
 (0)