note msvc is complaining compiler

This commit is contained in:
toddouska
2015-03-18 14:27:07 -07:00
parent 64d83c39a0
commit 8e4b24d6e4

View File

@@ -10886,12 +10886,11 @@ static void PickHashSigAlgo(WOLFSSL* ssl,
if (IsAtLeastTLSv1_2(ssl)) { if (IsAtLeastTLSv1_2(ssl)) {
/* /*
* Initialize values to avoid uninitialized compiler * MSVC Compiler complains because it can not
* warnings. Compiler complains because it can not
* guarantee any of the conditionals will succeed in * guarantee any of the conditionals will succeed in
* assigning a value before wc_EncodeSignature executes. * assigning a value before wc_EncodeSignature executes.
*/ */
byte* digest = 0; byte* digest = NULL;
int digestSz = 0; int digestSz = 0;
int typeH = 0; int typeH = 0;
int didSet = 0; int didSet = 0;