mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
fix warning for build with vcpkg
This commit is contained in:
@ -30431,9 +30431,9 @@ int wc_SetCustomExtension(Cert *cert, int critical, const char *oid,
|
|||||||
|
|
||||||
ext = &cert->customCertExt[cert->customCertExtCount];
|
ext = &cert->customCertExt[cert->customCertExtCount];
|
||||||
|
|
||||||
ext->oid = oid;
|
ext->oid = (char*)oid;
|
||||||
ext->crit = (critical == 0) ? 0 : 1;
|
ext->crit = (critical == 0) ? 0 : 1;
|
||||||
ext->val = der;
|
ext->val = (byte*)der;
|
||||||
ext->valSz = derSz;
|
ext->valSz = derSz;
|
||||||
|
|
||||||
cert->customCertExtCount++;
|
cert->customCertExtCount++;
|
||||||
|
Reference in New Issue
Block a user