fix warning for build with vcpkg

This commit is contained in:
JacobBarthelmeh
2023-06-30 15:53:46 -07:00
parent a4c058649b
commit e2a1bc6e6a

View File

@ -30431,9 +30431,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++;