fix const issue with PK callbacks

This commit is contained in:
John Safranek
2014-04-30 10:15:15 -07:00
parent 09a7a087a2
commit 85d453f2d1

View File

@ -8183,8 +8183,8 @@ static void PickHashSigAlgo(CYASSL* ssl,
if (doUserRsa) {
#ifdef HAVE_PK_CALLBACKS
ret = ssl->ctx->RsaVerifyCb(ssl, input + *inOutIdx, length,
&out,
ret = ssl->ctx->RsaVerifyCb(ssl, (byte *) input + *inOutIdx,
length, &out,
ssl->buffers.peerRsaKey.buffer,
ssl->buffers.peerRsaKey.length,
ssl->RsaVerifyCtx);