note msvc is complaining compiler

This commit is contained in:
toddouska 2015-03-18 14:27:07 -07:00
parent 64d83c39a0
commit 8e4b24d6e4
1 changed files with 2 additions and 3 deletions

View File

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