Skip to content

Commit e2a1bc6

Browse files
fix warning for build with vcpkg
1 parent a4c0586 commit e2a1bc6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfcrypt/src/asn.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30431,9 +30431,9 @@ int wc_SetCustomExtension(Cert *cert, int critical, const char *oid,
3043130431

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

30434-
ext->oid = oid;
30434+
ext->oid = (char*)oid;
3043530435
ext->crit = (critical == 0) ? 0 : 1;
30436-
ext->val = der;
30436+
ext->val = (byte*)der;
3043730437
ext->valSz = derSz;
3043830438

3043930439
cert->customCertExtCount++;

0 commit comments

Comments
 (0)