Skip to content

Commit

Permalink
Merge pull request #6567 from JacobBarthelmeh/vcpkg
Browse files Browse the repository at this point in the history
fix warning for build with vcpkg
  • Loading branch information
dgarske committed Jul 17, 2023
2 parents a026d84 + ff38d8f commit 37be7a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2376,8 +2376,7 @@ install(FILES
# Install the export set
install(EXPORT wolfssl-targets
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wolfssl
FILE wolfssl-targets.cmake
NAMESPACE wolfssl::)
FILE wolfssl-config.cmake)

# TODO: Distro build + rules for what to include in the distro.
# See various include.am files.
Expand Down
4 changes: 2 additions & 2 deletions wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -30686,9 +30686,9 @@ int wc_SetCustomExtension(Cert *cert, int critical, const char *oid,

ext = &cert->customCertExt[cert->customCertExtCount];

ext->oid = oid;
ext->oid = (char*)oid;
ext->crit = (critical == 0) ? 0 : 1;
ext->val = der;
ext->val = (byte*)der;
ext->valSz = derSz;

cert->customCertExtCount++;
Expand Down

0 comments on commit 37be7a4

Please sign in to comment.