mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +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->oid = oid;
|
||||
ext->oid = (char*)oid;
|
||||
ext->crit = (critical == 0) ? 0 : 1;
|
||||
ext->val = der;
|
||||
ext->val = (byte*)der;
|
||||
ext->valSz = derSz;
|
||||
|
||||
cert->customCertExtCount++;
|
||||
|
Reference in New Issue
Block a user