Merge pull request #293 from dgarske/WinWarnFixes

Fixes several warnings that were seeing building with Visual Studio 2…
This commit is contained in:
JacobBarthelmeh
2016-02-05 13:20:22 -07:00
7 changed files with 13 additions and 13 deletions

2
src/ssl.c Normal file → Executable file
View File

@@ -237,7 +237,7 @@ int wolfSSL_use_old_poly(WOLFSSL* ssl, int value)
WOLFSSL_ENTER("SSL_use_old_poly");
WOLFSSL_MSG("Warning SSL connection auto detects old/new and this function"
"is depriciated");
ssl->options.oldPoly = value;
ssl->options.oldPoly = (word16)value;
WOLFSSL_LEAVE("SSL_use_old_poly", 0);
return 0;
}