From 85d453f2d18b084f70003257ae247b238f76d3f9 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Wed, 30 Apr 2014 10:15:15 -0700 Subject: [PATCH] fix const issue with PK callbacks --- src/internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index 047f6667c..533476cd8 100644 --- a/src/internal.c +++ b/src/internal.c @@ -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);