warning cast

This commit is contained in:
toddouska 2012-05-30 10:03:05 -07:00
parent f528f5a7d3
commit 458302f9fe

View File

@ -1304,7 +1304,7 @@ int CyaSSL_CertManagerVerifyBuffer(CYASSL_CERT_MANAGER* cm, const byte* buff,
InitDecodedCert(&cert, der.buffer, der.length, cm->heap);
}
else
InitDecodedCert(&cert, buff, sz, cm->heap);
InitDecodedCert(&cert, (byte*)buff, sz, cm->heap);
if (ret == 0)
ret = ParseCertRelative(&cert, CERT_TYPE, 1, cm);