From 019ea52618341ab1ee776c1dc248113339a539bc Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 12 May 2022 10:54:09 -0600 Subject: [PATCH 1/2] prepare for release 1.4.10 --- ChangeLog.md | 25 +++++++++++++++++++++++++ configure.ac | 4 ++-- wolfssh/version.h | 4 ++-- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 2157351bc..26f1588a8 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,28 @@ +# wolfSSH v1.4.10 (May 13, 2022) + +## New Feature Additions and Improvements +- Additional small stack optimizations to reduce stack used farther +- Update to Visual Studio paths for looking for wolfSSL library +- SFTP example, reset timeout value with get/put command +- Add support for flushing file IO using WOLFSCP_FLUSH +- Add preprocessor guards for RSA/ECC to agent and the example and test applications +- Initialization of variables to avoid warnings and use with ESP-IDF + + +## Fixes +- When scp receives a string in STDERR, print it out, rather than treating it as an error +- Window adjustment refactor and fix +- fix check on RSA import size +- Fix for building with older GCC versions (tested with 4.0.2) +- SFTP fix handling sent data sz when its size is greater than peer max packet size +- SFTP add error return code for a bad header when sending a packet +- KCAPI build fixes for macro guards needed +- SCP fix for handling small and empty message sizes +- SFTP update to handle WS_CHAN_RXD return values when reading +- Fix for IPv6 with scpclient +- Fixes for cross-compiling (don't force library path references) +- Fix for FIPS 140-3 on ECC private key use + # wolfSSH v1.4.8 (Nov 4, 2021) ## New Feature Additions and Improvements diff --git a/configure.ac b/configure.ac index 8aa060ad5..7ed48d44a 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.9],[support@wolfssl.com],[wolfssh],[https://www.wolfssl.com]) +AC_INIT([wolfssh],[1.4.10],[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([config.h]) -WOLFSSH_LIBRARY_VERSION=12:3:4 +WOLFSSH_LIBRARY_VERSION=12:4:4 # | | | # +------+ | +---+ # | | | diff --git a/wolfssh/version.h b/wolfssh/version.h index 8c0d11278..2bfc8cbd4 100644 --- a/wolfssh/version.h +++ b/wolfssh/version.h @@ -35,8 +35,8 @@ extern "C" { #endif -#define LIBWOLFSSH_VERSION_STRING "1.4.9" -#define LIBWOLFSSH_VERSION_HEX 0x01004009 +#define LIBWOLFSSH_VERSION_STRING "1.4.10" +#define LIBWOLFSSH_VERSION_HEX 0x01004010 #ifdef __cplusplus } From 1f0864d6c71130ea502a7d7a84abb67262507cc4 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 12 May 2022 13:15:21 -0700 Subject: [PATCH 2/2] cast for g++ build warning --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index f0e53547a..6f815c71b 100644 --- a/src/internal.c +++ b/src/internal.c @@ -465,7 +465,7 @@ static void HandshakeInfoFree(HandshakeInfo* hs, void* heap) WFREE(hs->generator, heap, DYNTYPE_MPINT); #endif if (hs->hashId != WC_HASH_TYPE_NONE) - wc_HashFree(&hs->hash, hs->hashId); + wc_HashFree(&hs->hash, (enum wc_HashType)hs->hashId); ForceZero(hs, sizeof(HandshakeInfo)); WFREE(hs, heap, DYNTYPE_HS); }