forked from wolfSSL/wolfssl
Merge pull request #1119 from JacobBarthelmeh/Windows
cast to fix warning on Windows with Visual Studio
This commit is contained in:
@ -22904,7 +22904,7 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (bp->type == BIO_MEMORY) {
|
if (bp->type == BIO_MEMORY) {
|
||||||
l = wolfSSL_BIO_ctrl_pending(bp);
|
l = (long)wolfSSL_BIO_ctrl_pending(bp);
|
||||||
if (l <= 0) {
|
if (l <= 0) {
|
||||||
WOLFSSL_MSG("No pending data in WOLFSSL_BIO");
|
WOLFSSL_MSG("No pending data in WOLFSSL_BIO");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user