From a353cae4d8bfd0bd7bef7b406b27c52284c26783 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 23 Jul 2021 14:29:43 +0700 Subject: [PATCH 1/2] 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; From 056bd8a87c2e58f6a9bf579832d1064054e36305 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 23 Jul 2021 15:39:29 +0700 Subject: [PATCH 2/2] prepare for release v1.4.7 --- ChangeLog.md | 25 +++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 051e391e..bc844a85 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,28 @@ +# wolfSSH v1.4.7 (July 23, 2021) + +## New Feature Additions and Improvements + +- SCP improvements to run on embedded RTOS +- For SFTP messages, check both minimum bound and maximum bound of the length value +- Added option for --enable-small-stack +- Added SFTP support for FatFs +- Added 192 and 256 bit support for AES-CBC, AES-CTR, and AES-GCM +- Added options to disable algorithms. (ie WOLFSSH_NO_ECDSA, WOLFSSH_NO_AES_CBC, etc) +- Improved handling of builds without ECC + + +## Fixes +- When processing public key user auth, initialize the key earlier +- When processing public key user auth, use GetSize() instead of GetUint32() +- Fix for better handling rekey +- Fix for build with NO_WOLFSSH_CLIENT macro and --enable-all +- Fix configuration with WOLFSSH_NO_DH +- To add internal function to purge a packet in case building one fails +- Fix for cleanup in error case with SFTP read packet +- Fix initialization of DH Size values + +-------------------------------- + # wolfSSH v1.4.6 (February 3, 2021) ## New Feature Additions diff --git a/configure.ac b/configure.ac index 44d871c2..5a4bdfee 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # All right reserved. AC_COPYRIGHT([Copyright (C) 2014-2020 wolfSSL Inc.]) -AC_INIT([wolfssh],[1.4.6],[support@wolfssl.com],[wolfssh],[https://www.wolfssl.com]) +AC_INIT([wolfssh],[1.4.7],[support@wolfssl.com],[wolfssh],[https://www.wolfssl.com]) AC_PREREQ([2.63]) AC_CONFIG_AUX_DIR([build-aux]) @@ -18,7 +18,7 @@ AC_ARG_PROGRAM AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([src/config.h]) -WOLFSSH_LIBRARY_VERSION=12:1:3 +WOLFSSH_LIBRARY_VERSION=12:2:3 # | | | # +------+ | +---+ # | | |