From 8e4b24d6e4d0e413a5d0541b5982c0fa433893cf Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 18 Mar 2015 14:27:07 -0700 Subject: [PATCH] note msvc is complaining compiler --- src/internal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/internal.c b/src/internal.c index a1c7491ab..e8044cc82 100644 --- a/src/internal.c +++ b/src/internal.c @@ -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;