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;