fix Windows Visual Studio warnings

This commit is contained in:
Chris Conlon
2017-12-19 13:57:33 -07:00
parent bacbc06856
commit 574beff4cc
6 changed files with 106 additions and 109 deletions

View File

@@ -24055,7 +24055,7 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl)
(void)depth;
WOLFSSL_STUB("wolfSSL_set_verify_depth");
#else
ssl->options.verifyDepth = depth;
ssl->options.verifyDepth = (byte)depth;
#endif
}