From a353cae4d8bfd0bd7bef7b406b27c52284c26783 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 23 Jul 2021 14:29:43 +0700 Subject: [PATCH] initialize hash type --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 7c3384cd..9a688dbe 100644 --- a/src/internal.c +++ b/src/internal.c @@ -6668,7 +6668,7 @@ int SendKexDhReply(WOLFSSH* ssh) byte* output; word32 idx; byte msgId = MSGID_KEXDH_REPLY; - enum wc_HashType enmhashId; + enum wc_HashType enmhashId = WC_HASH_TYPE_NONE; #ifndef WOLFSSH_NO_DH byte *y_ptr = NULL; const byte* primeGroup = NULL;