Merge pull request #6567 from JacobBarthelmeh/vcpkg

fix warning for build with vcpkg
This commit is contained in:
David Garske
2023-07-17 08:47:15 -07:00
committed by GitHub
2 changed files with 3 additions and 4 deletions

View File

@@ -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++;