From 1736a4cabf9cb7aeae2ae9e3ad21fa94be5447d8 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 22 Mar 2024 12:11:26 -0700 Subject: [PATCH 1/5] Update Copyright Date 1. Bring all copyright dates up to 2024. 2. Fix a few files with incorrect licensing. --- apps/wolfssh/common.c | 2 +- apps/wolfssh/common.h | 2 +- apps/wolfssh/wolfssh.c | 2 +- apps/wolfsshd/auth.c | 2 +- apps/wolfsshd/auth.h | 2 +- apps/wolfsshd/configuration.c | 2 +- apps/wolfsshd/configuration.h | 2 +- apps/wolfsshd/wolfsshd.c | 2 +- configure.ac | 4 ++-- examples/client/client.c | 2 +- examples/client/client.h | 2 +- examples/client/common.c | 2 +- examples/client/common.h | 2 +- examples/echoserver/echoserver.c | 2 +- examples/echoserver/echoserver.h | 2 +- examples/portfwd/portfwd.c | 2 +- examples/portfwd/wolfssh_portfwd.h | 2 +- examples/scpclient/scpclient.c | 2 +- examples/scpclient/scpclient.h | 2 +- examples/sftpclient/sftpclient.c | 2 +- examples/sftpclient/sftpclient.h | 2 +- ide/Espressif/ESP-IDF/default_espressif_options.h | 2 +- .../examples/wolfssh_echoserver/CMakeLists.txt | 13 ++++++------- .../components/wolfssh/CMakeLists.txt | 13 ++++++------- .../components/wolfssl/CMakeLists.txt | 13 ++++++------- .../components/wolfssl/include/user_settings.h | 13 ++++++------- .../examples/wolfssh_echoserver/main/CMakeLists.txt | 13 ++++++------- .../examples/wolfssh_echoserver/main/echoserver.c | 2 +- .../wolfssh_echoserver/main/include/echoserver.h | 2 +- .../examples/wolfssh_echoserver/main/include/main.h | 13 ++++++------- .../wolfssh_echoserver/main/include/time_helper.h | 13 ++++++------- .../wolfssh_echoserver/main/include/wifi_connect.h | 13 ++++++------- .../ESP-IDF/examples/wolfssh_echoserver/main/main.c | 13 ++++++------- .../examples/wolfssh_echoserver/main/time_helper.c | 13 ++++++------- .../examples/wolfssh_echoserver/main/wifi_connect.c | 13 ++++++------- .../components/wolfssh/CMakeLists.txt | 13 ++++++------- .../components/wolfssl/CMakeLists.txt | 13 ++++++------- .../components/wolfssl/include/user_settings.h | 13 ++++++------- .../examples/wolfssh_template/main/CMakeLists.txt | 13 ++++++------- .../examples/wolfssh_template/main/include/main.h | 13 ++++++------- .../ESP-IDF/examples/wolfssh_template/main/main.c | 13 ++++++------- ide/IAR-EWARM/Projects/lib/myFilesystem.h | 2 +- ide/Renesas/cs+/common/strings.h | 2 +- ide/Renesas/cs+/common/unistd.h | 2 +- ide/Renesas/cs+/common/user_settings.h | 2 +- .../cs+/common/wolfssh_csplus_usersettings.h | 2 +- ide/Renesas/cs+/demo_server/wolfssh_demo.c | 2 +- ide/Renesas/cs+/demo_server/wolfssh_demo.h | 2 +- ide/Renesas/cs+/demo_server/wolfssh_dummy.c | 2 +- ide/STM32CUBE/main.c | 2 +- ide/STM32CUBE/myFilesystem.h | 2 +- ide/STM32CUBE/userio_template.h | 2 +- ide/STM32CUBE/wolfssh_test.c | 2 +- ide/STM32CUBE/wolfssh_test.h | 2 +- src/agent.c | 2 +- src/certman.c | 2 +- src/internal.c | 2 +- src/io.c | 2 +- src/keygen.c | 2 +- src/log.c | 2 +- src/misc.c | 2 +- src/port.c | 2 +- src/ssh.c | 2 +- src/wolfscp.c | 2 +- src/wolfsftp.c | 2 +- src/wolfterm.c | 2 +- tests/api.c | 2 +- tests/api.h | 2 +- tests/sftp.c | 2 +- tests/sftp.h | 2 +- tests/testsuite.c | 2 +- tests/testsuite.h | 2 +- tests/unit.c | 2 +- tests/unit.h | 2 +- wolfssh/agent.h | 2 +- wolfssh/certman.h | 2 +- wolfssh/certs_test.h | 2 +- wolfssh/error.h | 2 +- wolfssh/internal.h | 2 +- wolfssh/keygen.h | 2 +- wolfssh/log.h | 2 +- wolfssh/misc.h | 2 +- wolfssh/port.h | 2 +- wolfssh/settings.h | 2 +- wolfssh/ssh.h | 2 +- wolfssh/test.h | 2 +- wolfssh/version.h | 2 +- wolfssh/version.h.in | 2 +- wolfssh/visibility.h | 2 +- wolfssh/wolfscp.h | 2 +- wolfssh/wolfsftp.h | 2 +- zephyr/samples/tests/tests.c | 2 +- zephyr/samples/tests/user_settings.h | 2 +- zephyr/samples/tests/wolfssl_user_settings.h | 2 +- 94 files changed, 180 insertions(+), 197 deletions(-) diff --git a/apps/wolfssh/common.c b/apps/wolfssh/common.c index f83d135f7..90650813c 100644 --- a/apps/wolfssh/common.c +++ b/apps/wolfssh/common.c @@ -1,6 +1,6 @@ /* common.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/apps/wolfssh/common.h b/apps/wolfssh/common.h index 14d45dcba..0f7b84141 100644 --- a/apps/wolfssh/common.h +++ b/apps/wolfssh/common.h @@ -1,6 +1,6 @@ /* common.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/apps/wolfssh/wolfssh.c b/apps/wolfssh/wolfssh.c index d3b601786..c1ce13a49 100644 --- a/apps/wolfssh/wolfssh.c +++ b/apps/wolfssh/wolfssh.c @@ -1,6 +1,6 @@ /* wolfssh.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/apps/wolfsshd/auth.c b/apps/wolfsshd/auth.c index 4be651626..f60a299ab 100644 --- a/apps/wolfsshd/auth.c +++ b/apps/wolfsshd/auth.c @@ -1,6 +1,6 @@ /* auth.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/apps/wolfsshd/auth.h b/apps/wolfsshd/auth.h index ddc6e90aa..53868da81 100644 --- a/apps/wolfsshd/auth.h +++ b/apps/wolfsshd/auth.h @@ -1,6 +1,6 @@ /* auth.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/apps/wolfsshd/configuration.c b/apps/wolfsshd/configuration.c index 76f6bef07..aef6a1ffb 100644 --- a/apps/wolfsshd/configuration.c +++ b/apps/wolfsshd/configuration.c @@ -1,6 +1,6 @@ /* configuration.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/apps/wolfsshd/configuration.h b/apps/wolfsshd/configuration.h index 68807975d..e39d9fa20 100644 --- a/apps/wolfsshd/configuration.h +++ b/apps/wolfsshd/configuration.h @@ -1,6 +1,6 @@ /* configuration.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/apps/wolfsshd/wolfsshd.c b/apps/wolfsshd/wolfsshd.c index a7ef2f0a5..9f95336b4 100644 --- a/apps/wolfsshd/wolfsshd.c +++ b/apps/wolfsshd/wolfsshd.c @@ -1,6 +1,6 @@ /* wolfsshd.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/configure.ac b/configure.ac index 4070c2176..e7e6fb8d1 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,8 @@ # wolfssh -# Copyright (C) 2014-2023 wolfSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # All right reserved. -AC_COPYRIGHT([Copyright (C) 2014-2023 wolfSSL Inc.]) +AC_COPYRIGHT([Copyright (C) 2014-2024 wolfSSL Inc.]) AC_INIT([wolfssh],[1.4.16],[support@wolfssl.com],[wolfssh],[https://www.wolfssl.com]) AC_PREREQ([2.63]) AC_CONFIG_AUX_DIR([build-aux]) diff --git a/examples/client/client.c b/examples/client/client.c index 974c321f7..92ad394d2 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -1,6 +1,6 @@ /* client.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/client/client.h b/examples/client/client.h index 80aa61eeb..c02d80d9d 100644 --- a/examples/client/client.h +++ b/examples/client/client.h @@ -1,6 +1,6 @@ /* client.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/client/common.c b/examples/client/common.c index 97051386c..0b3ead698 100644 --- a/examples/client/common.c +++ b/examples/client/common.c @@ -1,6 +1,6 @@ /* common.c * - * Copyright (C) 2014-2022 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/client/common.h b/examples/client/common.h index 68c36efe2..d27d22f1d 100644 --- a/examples/client/common.h +++ b/examples/client/common.h @@ -1,6 +1,6 @@ /* common.h * - * Copyright (C) 2014-2022 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/echoserver/echoserver.c b/examples/echoserver/echoserver.c index def9e1f7b..721eeda4f 100644 --- a/examples/echoserver/echoserver.c +++ b/examples/echoserver/echoserver.c @@ -1,6 +1,6 @@ /* echoserver.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/echoserver/echoserver.h b/examples/echoserver/echoserver.h index 704206db9..45fcb4325 100644 --- a/examples/echoserver/echoserver.h +++ b/examples/echoserver/echoserver.h @@ -1,6 +1,6 @@ /* echoserver.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/portfwd/portfwd.c b/examples/portfwd/portfwd.c index 173d31899..ecc38f7e8 100644 --- a/examples/portfwd/portfwd.c +++ b/examples/portfwd/portfwd.c @@ -1,6 +1,6 @@ /* portfwd.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/portfwd/wolfssh_portfwd.h b/examples/portfwd/wolfssh_portfwd.h index 3a3c5e47a..996360b29 100644 --- a/examples/portfwd/wolfssh_portfwd.h +++ b/examples/portfwd/wolfssh_portfwd.h @@ -1,6 +1,6 @@ /* wolfssh_portfwd.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/scpclient/scpclient.c b/examples/scpclient/scpclient.c index a23fdef46..5e404e4d2 100644 --- a/examples/scpclient/scpclient.c +++ b/examples/scpclient/scpclient.c @@ -1,6 +1,6 @@ /* scpclient.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/scpclient/scpclient.h b/examples/scpclient/scpclient.h index dcbd9508b..c46e4ce27 100644 --- a/examples/scpclient/scpclient.h +++ b/examples/scpclient/scpclient.h @@ -1,6 +1,6 @@ /* scpclient.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/sftpclient/sftpclient.c b/examples/sftpclient/sftpclient.c index 01a2308b6..5bb412f25 100644 --- a/examples/sftpclient/sftpclient.c +++ b/examples/sftpclient/sftpclient.c @@ -1,6 +1,6 @@ /* sftpclient.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/examples/sftpclient/sftpclient.h b/examples/sftpclient/sftpclient.h index 1d515a695..03e1e55c9 100644 --- a/examples/sftpclient/sftpclient.h +++ b/examples/sftpclient/sftpclient.h @@ -1,6 +1,6 @@ /* sftpclient.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Espressif/ESP-IDF/default_espressif_options.h b/ide/Espressif/ESP-IDF/default_espressif_options.h index b1cac4f08..e77d81fff 100644 --- a/ide/Espressif/ESP-IDF/default_espressif_options.h +++ b/ide/Espressif/ESP-IDF/default_espressif_options.h @@ -1,7 +1,7 @@ /* wolfssl options.h * generated from configure options * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/CMakeLists.txt b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/CMakeLists.txt index 2b754ab8f..ee051c8db 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/CMakeLists.txt +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/CMakeLists.txt @@ -1,22 +1,21 @@ # [wolfSSL Project]/CMakeLists.txt # -# Copyright (C) 2006-2023 WOLFSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # -# This file is part of WOLFSSH. +# This file is part of wolfSSH. # -# WOLFSSH is free software; you can redistribute it and/or modify +# wolfSSH is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# WOLFSSH is distributed in the hope that it will be useful, +# wolfSSH is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA +# along with wolfSSH. If not, see . # # cmake for WOLFSSH Espressif projects # diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssh/CMakeLists.txt b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssh/CMakeLists.txt index c3e5d37ab..11b8d6a49 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssh/CMakeLists.txt +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssh/CMakeLists.txt @@ -1,22 +1,21 @@ # [wolfSSL Project]/components/wolfssh/CMakeLists.txt # -# Copyright (C) 2006-2023 WOLFSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # -# This file is part of WOLFSSH. +# This file is part of wolfSSH. # -# WOLFSSH is free software; you can redistribute it and/or modify +# wolfSSH is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# WOLFSSH is distributed in the hope that it will be useful, +# wolfSSH is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA +# along with wolfSSH. If not, see . # # cmake for WOLFSSH Espressif projects v5.6.6 r1 # diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/CMakeLists.txt b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/CMakeLists.txt index d58704b84..fb86bdfd1 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/CMakeLists.txt +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/CMakeLists.txt @@ -1,21 +1,20 @@ # -# Copyright (C) 2006-2023 wolfSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # -# This file is part of wolfSSL. +# This file is part of wolfSSH. # -# wolfSSL is free software; you can redistribute it and/or modify +# wolfSSH is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# wolfSSL is distributed in the hope that it will be useful, +# wolfSSH is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA +# along with wolfSSH. If not, see . # # cmake for wolfssl Espressif projects # diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/include/user_settings.h b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/include/user_settings.h index 41f588a01..6d0e197ef 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/include/user_settings.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/components/wolfssl/include/user_settings.h @@ -1,22 +1,21 @@ /* user_settings.h * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #include /* essential to chip set detection */ diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/CMakeLists.txt b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/CMakeLists.txt index d58c2ae1c..0945f3222 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/CMakeLists.txt +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/CMakeLists.txt @@ -1,22 +1,21 @@ # [wolfSSL Project]/main/CMakeLists.txt # -# Copyright (C) 2006-2023 WOLFSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # -# This file is part of WOLFSSH. +# This file is part of wolfSSH. # -# WOLFSSH is free software; you can redistribute it and/or modify +# wolfSSH is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# WOLFSSH is distributed in the hope that it will be useful, +# wolfSSH is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA +# along with wolfSSH. If not, see . # # cmake for WOLFSSH Espressif projects # diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/echoserver.c b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/echoserver.c index 2eae60762..49c90d42d 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/echoserver.c +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/echoserver.c @@ -1,6 +1,6 @@ /* echoserver.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/echoserver.h b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/echoserver.h index ac7e17cf2..48fd59d18 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/echoserver.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/echoserver.h @@ -1,6 +1,6 @@ /* echoserver.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/main.h b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/main.h index 7e07ec1df..73d227693 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/main.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/main.h @@ -1,22 +1,21 @@ /* template main.h * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #ifndef _MAIN_H_ #define _MAIN_H_ diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/time_helper.h b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/time_helper.h index a47f94001..e244ddd17 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/time_helper.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/time_helper.h @@ -1,21 +1,20 @@ /* - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ /* common Espressif time_helper v5.6.3.001 */ diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/wifi_connect.h b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/wifi_connect.h index a0014d4c3..9ac4d7f58 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/wifi_connect.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/include/wifi_connect.h @@ -1,22 +1,21 @@ /* wifi_connect.h * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #ifndef _WIFI_CONNECT_H_ #define _WIFI_CONNECT_H_ diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/main.c b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/main.c index 7781f4281..8934ece49 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/main.c +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/main.c @@ -1,22 +1,21 @@ /* main.c * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #include "sdkconfig.h" #include "main.h" diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/time_helper.c b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/time_helper.c index 0abf70c5a..498c53d78 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/time_helper.c +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/time_helper.c @@ -1,22 +1,21 @@ /* time_helper.c * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ /* common Espressif time_helper v5.6.3.002 */ diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/wifi_connect.c b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/wifi_connect.c index 384a86274..973eb4fff 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/wifi_connect.c +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_echoserver/main/wifi_connect.c @@ -1,22 +1,21 @@ /* wifi_connect.c * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #include "wifi_connect.h" diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssh/CMakeLists.txt b/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssh/CMakeLists.txt index 6d54b9e74..b32d5cb8f 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssh/CMakeLists.txt +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssh/CMakeLists.txt @@ -1,22 +1,21 @@ # Espressif component/wolfssh/CMakeLists.txt # -# Copyright (C) 2006-2023 WOLFSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # -# This file is part of WOLFSSH. +# This file is part of wolfSSH. # -# WOLFSSH is free software; you can redistribute it and/or modify +# wolfSSH is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# WOLFSSH is distributed in the hope that it will be useful, +# wolfSSH is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA +# along with wolfSSH. If not, see . # # cmake for WOLFSSH Espressif projects # diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/CMakeLists.txt b/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/CMakeLists.txt index d58704b84..fb86bdfd1 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/CMakeLists.txt +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/CMakeLists.txt @@ -1,21 +1,20 @@ # -# Copyright (C) 2006-2023 wolfSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # -# This file is part of wolfSSL. +# This file is part of wolfSSH. # -# wolfSSL is free software; you can redistribute it and/or modify +# wolfSSH is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# wolfSSL is distributed in the hope that it will be useful, +# wolfSSH is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA +# along with wolfSSH. If not, see . # # cmake for wolfssl Espressif projects # diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/include/user_settings.h b/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/include/user_settings.h index 41f588a01..6d0e197ef 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/include/user_settings.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_template/components/wolfssl/include/user_settings.h @@ -1,22 +1,21 @@ /* user_settings.h * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #include /* essential to chip set detection */ diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/CMakeLists.txt b/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/CMakeLists.txt index 9ae9d6bf7..0021fd7e3 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/CMakeLists.txt +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/CMakeLists.txt @@ -1,22 +1,21 @@ # [wolfSSL Project]/main/CMakeLists.txt # -# Copyright (C) 2006-2023 WOLFSSL Inc. +# Copyright (C) 2014-2024 wolfSSL Inc. # -# This file is part of WOLFSSH. +# This file is part of wolfSSH. # -# WOLFSSH is free software; you can redistribute it and/or modify +# wolfSSH is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # -# WOLFSSH is distributed in the hope that it will be useful, +# wolfSSH is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA +# along with wolfSSH. If not, see . # # cmake for WOLFSSH Espressif projects # diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/include/main.h b/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/include/main.h index 7e07ec1df..73d227693 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/include/main.h +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/include/main.h @@ -1,22 +1,21 @@ /* template main.h * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #ifndef _MAIN_H_ #define _MAIN_H_ diff --git a/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/main.c b/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/main.c index 6204cc398..af6f87cce 100644 --- a/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/main.c +++ b/ide/Espressif/ESP-IDF/examples/wolfssh_template/main/main.c @@ -1,22 +1,21 @@ /* main.c * - * Copyright (C) 2006-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * - * This file is part of wolfSSL. + * This file is part of wolfSSH. * - * wolfSSL is free software; you can redistribute it and/or modify + * wolfSSH is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * wolfSSL is distributed in the hope that it will be useful, + * wolfSSH is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * along with wolfSSH. If not, see . */ #include "main.h" diff --git a/ide/IAR-EWARM/Projects/lib/myFilesystem.h b/ide/IAR-EWARM/Projects/lib/myFilesystem.h index 0fcdacc87..0a38ea469 100644 --- a/ide/IAR-EWARM/Projects/lib/myFilesystem.h +++ b/ide/IAR-EWARM/Projects/lib/myFilesystem.h @@ -1,6 +1,6 @@ /* dummy_filesystem.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Renesas/cs+/common/strings.h b/ide/Renesas/cs+/common/strings.h index 0c46b4f10..efe786a23 100644 --- a/ide/Renesas/cs+/common/strings.h +++ b/ide/Renesas/cs+/common/strings.h @@ -1,6 +1,6 @@ /* strings.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Renesas/cs+/common/unistd.h b/ide/Renesas/cs+/common/unistd.h index 71943bce1..d108f898a 100644 --- a/ide/Renesas/cs+/common/unistd.h +++ b/ide/Renesas/cs+/common/unistd.h @@ -1,6 +1,6 @@ /* unistd.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Renesas/cs+/common/user_settings.h b/ide/Renesas/cs+/common/user_settings.h index 8553ce715..5e43a8264 100644 --- a/ide/Renesas/cs+/common/user_settings.h +++ b/ide/Renesas/cs+/common/user_settings.h @@ -1,6 +1,6 @@ /* user_settings.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Renesas/cs+/common/wolfssh_csplus_usersettings.h b/ide/Renesas/cs+/common/wolfssh_csplus_usersettings.h index 2a54ccaea..c37ec20f8 100644 --- a/ide/Renesas/cs+/common/wolfssh_csplus_usersettings.h +++ b/ide/Renesas/cs+/common/wolfssh_csplus_usersettings.h @@ -1,6 +1,6 @@ /* wolfssh_csplus_usersettings..h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Renesas/cs+/demo_server/wolfssh_demo.c b/ide/Renesas/cs+/demo_server/wolfssh_demo.c index b9f6b0aea..866be2f76 100644 --- a/ide/Renesas/cs+/demo_server/wolfssh_demo.c +++ b/ide/Renesas/cs+/demo_server/wolfssh_demo.c @@ -1,6 +1,6 @@ /* wolfssh_demo.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Renesas/cs+/demo_server/wolfssh_demo.h b/ide/Renesas/cs+/demo_server/wolfssh_demo.h index 2eeb34e02..e9becd139 100644 --- a/ide/Renesas/cs+/demo_server/wolfssh_demo.h +++ b/ide/Renesas/cs+/demo_server/wolfssh_demo.h @@ -1,6 +1,6 @@ /* wolfssh_demo.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/Renesas/cs+/demo_server/wolfssh_dummy.c b/ide/Renesas/cs+/demo_server/wolfssh_dummy.c index 4ccac07a8..3edaff78e 100644 --- a/ide/Renesas/cs+/demo_server/wolfssh_dummy.c +++ b/ide/Renesas/cs+/demo_server/wolfssh_dummy.c @@ -1,6 +1,6 @@ /* wolfssh_dummy.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/STM32CUBE/main.c b/ide/STM32CUBE/main.c index 76155abd0..3827fd826 100644 --- a/ide/STM32CUBE/main.c +++ b/ide/STM32CUBE/main.c @@ -1,6 +1,6 @@ /* main.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/STM32CUBE/myFilesystem.h b/ide/STM32CUBE/myFilesystem.h index 31eefd454..cfacbc9dc 100644 --- a/ide/STM32CUBE/myFilesystem.h +++ b/ide/STM32CUBE/myFilesystem.h @@ -1,6 +1,6 @@ /* myFilesystem.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/STM32CUBE/userio_template.h b/ide/STM32CUBE/userio_template.h index 4b8144288..049335e00 100644 --- a/ide/STM32CUBE/userio_template.h +++ b/ide/STM32CUBE/userio_template.h @@ -1,6 +1,6 @@ /* userio_template.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/STM32CUBE/wolfssh_test.c b/ide/STM32CUBE/wolfssh_test.c index ba9c5a44c..60459a88a 100644 --- a/ide/STM32CUBE/wolfssh_test.c +++ b/ide/STM32CUBE/wolfssh_test.c @@ -1,6 +1,6 @@ /* wolfssh_test.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/ide/STM32CUBE/wolfssh_test.h b/ide/STM32CUBE/wolfssh_test.h index 063027b2c..fc88dc6a5 100644 --- a/ide/STM32CUBE/wolfssh_test.h +++ b/ide/STM32CUBE/wolfssh_test.h @@ -1,6 +1,6 @@ /* wolfssh_test.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/agent.c b/src/agent.c index 78fc73c06..bfda4930f 100644 --- a/src/agent.c +++ b/src/agent.c @@ -1,6 +1,6 @@ /* agent.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/certman.c b/src/certman.c index 584f95525..40b8eba7a 100644 --- a/src/certman.c +++ b/src/certman.c @@ -1,6 +1,6 @@ /* certman.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/internal.c b/src/internal.c index 3adeda6e1..ea4028817 100644 --- a/src/internal.c +++ b/src/internal.c @@ -1,6 +1,6 @@ /* internal.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/io.c b/src/io.c index a3e6af1cd..fb25ec37d 100644 --- a/src/io.c +++ b/src/io.c @@ -1,6 +1,6 @@ /* io.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/keygen.c b/src/keygen.c index 46b0431ee..2fb4b3a98 100644 --- a/src/keygen.c +++ b/src/keygen.c @@ -1,6 +1,6 @@ /* keygen.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/log.c b/src/log.c index 2f66d5a9c..2c96c5d9d 100644 --- a/src/log.c +++ b/src/log.c @@ -1,6 +1,6 @@ /* log.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/misc.c b/src/misc.c index f78eb72a3..5e4579b8e 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1,6 +1,6 @@ /* misc.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/port.c b/src/port.c index 035019080..f8bd43378 100644 --- a/src/port.c +++ b/src/port.c @@ -1,6 +1,6 @@ /* port.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/ssh.c b/src/ssh.c index 73ee5fea8..46e83f560 100644 --- a/src/ssh.c +++ b/src/ssh.c @@ -1,6 +1,6 @@ /* ssh.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/wolfscp.c b/src/wolfscp.c index c50be7063..1bbb89cd3 100644 --- a/src/wolfscp.c +++ b/src/wolfscp.c @@ -1,6 +1,6 @@ /* wolfscp.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/wolfsftp.c b/src/wolfsftp.c index b2ecf1fd6..7320c0fd7 100644 --- a/src/wolfsftp.c +++ b/src/wolfsftp.c @@ -1,6 +1,6 @@ /* wolfsftp.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/src/wolfterm.c b/src/wolfterm.c index 659256838..691ff388a 100644 --- a/src/wolfterm.c +++ b/src/wolfterm.c @@ -1,6 +1,6 @@ /* wolfterm.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/api.c b/tests/api.c index 2de3ab6f4..3c738bc81 100644 --- a/tests/api.c +++ b/tests/api.c @@ -1,6 +1,6 @@ /* api.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/api.h b/tests/api.h index a59be0814..8c8142561 100644 --- a/tests/api.h +++ b/tests/api.h @@ -1,6 +1,6 @@ /* api.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/sftp.c b/tests/sftp.c index 1e4aa067e..75ab904ea 100644 --- a/tests/sftp.c +++ b/tests/sftp.c @@ -1,6 +1,6 @@ /* sftp.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/sftp.h b/tests/sftp.h index cb1860ba3..d69e2433a 100644 --- a/tests/sftp.h +++ b/tests/sftp.h @@ -1,6 +1,6 @@ /* sftp.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/testsuite.c b/tests/testsuite.c index c9441b24d..4914cc29c 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -1,6 +1,6 @@ /* testsuite.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/testsuite.h b/tests/testsuite.h index 7391237fa..c40bd09ec 100644 --- a/tests/testsuite.h +++ b/tests/testsuite.h @@ -1,6 +1,6 @@ /* testsuite.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/unit.c b/tests/unit.c index 5c9898d3f..335813b6d 100644 --- a/tests/unit.c +++ b/tests/unit.c @@ -1,6 +1,6 @@ /* unit.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/tests/unit.h b/tests/unit.h index 39a1767ab..364a1925d 100644 --- a/tests/unit.h +++ b/tests/unit.h @@ -1,6 +1,6 @@ /* unit.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/agent.h b/wolfssh/agent.h index 97f3220a7..c3d6412aa 100644 --- a/wolfssh/agent.h +++ b/wolfssh/agent.h @@ -1,6 +1,6 @@ /* agent.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/certman.h b/wolfssh/certman.h index a4fe2c016..63e4542de 100644 --- a/wolfssh/certman.h +++ b/wolfssh/certman.h @@ -1,6 +1,6 @@ /* certman.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/certs_test.h b/wolfssh/certs_test.h index a5de5752a..1d60530ff 100644 --- a/wolfssh/certs_test.h +++ b/wolfssh/certs_test.h @@ -1,6 +1,6 @@ /* certs_test.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/error.h b/wolfssh/error.h index eab353666..3749a55b5 100644 --- a/wolfssh/error.h +++ b/wolfssh/error.h @@ -1,6 +1,6 @@ /* error.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/internal.h b/wolfssh/internal.h index 2a81a49ad..6ff2721cf 100644 --- a/wolfssh/internal.h +++ b/wolfssh/internal.h @@ -1,6 +1,6 @@ /* internal.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/keygen.h b/wolfssh/keygen.h index 52b4f34bb..9cf58e7c7 100644 --- a/wolfssh/keygen.h +++ b/wolfssh/keygen.h @@ -1,6 +1,6 @@ /* keygen.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/log.h b/wolfssh/log.h index a51d37835..26f202124 100644 --- a/wolfssh/log.h +++ b/wolfssh/log.h @@ -1,6 +1,6 @@ /* log.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/misc.h b/wolfssh/misc.h index d0501cf8a..55dd6cf80 100644 --- a/wolfssh/misc.h +++ b/wolfssh/misc.h @@ -1,6 +1,6 @@ /* misc.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/port.h b/wolfssh/port.h index 3a4820efd..b65d32fd6 100644 --- a/wolfssh/port.h +++ b/wolfssh/port.h @@ -1,6 +1,6 @@ /* port.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/settings.h b/wolfssh/settings.h index e4aa01664..12e7527df 100644 --- a/wolfssh/settings.h +++ b/wolfssh/settings.h @@ -1,6 +1,6 @@ /* settings.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/ssh.h b/wolfssh/ssh.h index a303ae6c4..3b4f65e09 100644 --- a/wolfssh/ssh.h +++ b/wolfssh/ssh.h @@ -1,6 +1,6 @@ /* ssh.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/test.h b/wolfssh/test.h index cf276b102..402eb5582 100644 --- a/wolfssh/test.h +++ b/wolfssh/test.h @@ -1,6 +1,6 @@ /* test.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/version.h b/wolfssh/version.h index 34fdb11a9..938beb2b3 100644 --- a/wolfssh/version.h +++ b/wolfssh/version.h @@ -1,6 +1,6 @@ /* version.h.in * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/version.h.in b/wolfssh/version.h.in index e9a5cf04b..b44be3403 100644 --- a/wolfssh/version.h.in +++ b/wolfssh/version.h.in @@ -1,6 +1,6 @@ /* version.h.in * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/visibility.h b/wolfssh/visibility.h index ae41a312b..fa9da6819 100644 --- a/wolfssh/visibility.h +++ b/wolfssh/visibility.h @@ -1,6 +1,6 @@ /* visibility.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/wolfscp.h b/wolfssh/wolfscp.h index fedf57719..eba468dc2 100644 --- a/wolfssh/wolfscp.h +++ b/wolfssh/wolfscp.h @@ -1,6 +1,6 @@ /* wolfscp.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/wolfssh/wolfsftp.h b/wolfssh/wolfsftp.h index 8fbbdbb77..b5d4afcea 100644 --- a/wolfssh/wolfsftp.h +++ b/wolfssh/wolfsftp.h @@ -1,6 +1,6 @@ /* wolfsftp.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/zephyr/samples/tests/tests.c b/zephyr/samples/tests/tests.c index 56d18c91b..cd5e54356 100644 --- a/zephyr/samples/tests/tests.c +++ b/zephyr/samples/tests/tests.c @@ -1,6 +1,6 @@ /* tests.c * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/zephyr/samples/tests/user_settings.h b/zephyr/samples/tests/user_settings.h index 0f755a549..1cfbb585f 100644 --- a/zephyr/samples/tests/user_settings.h +++ b/zephyr/samples/tests/user_settings.h @@ -1,6 +1,6 @@ /* user_settings.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * diff --git a/zephyr/samples/tests/wolfssl_user_settings.h b/zephyr/samples/tests/wolfssl_user_settings.h index 35cd345f6..03b12c94f 100644 --- a/zephyr/samples/tests/wolfssl_user_settings.h +++ b/zephyr/samples/tests/wolfssl_user_settings.h @@ -1,6 +1,6 @@ /* wolfssl_user_settings.h * - * Copyright (C) 2014-2023 wolfSSL Inc. + * Copyright (C) 2014-2024 wolfSSL Inc. * * This file is part of wolfSSH. * From d2889924cbb892a0e59d1f0f6ec44d281ce159f5 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 22 Mar 2024 12:36:05 -0700 Subject: [PATCH 2/5] Update Version to v1.4.17 1. Update the library version 2. Update the ChangeLog --- ChangeLog.md | 52 +++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 25 ++++++++++++----------- wolfssh/version.h | 4 ++-- 3 files changed, 67 insertions(+), 14 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 651c0f357..3f0b6649c 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,55 @@ +# wolfSSH v1.4.17 (March 22, 2024) + +## Vulnerabilities + +* Fixes a vulnerability where a properly crafted SSH client can bypass user + authentication in the wolfSSH server code. The added fix filters the + messages that are allowed during different operational states. + +## Notes + +* When building wolfSSL/wolfCrypt versions before v5.6.6 with CMake, + wolfSSH may have a problem with RSA keys. This is due to wolfSSH not + checking on the size of `___uint128_t`. wolfSSH sees the RSA structure + as the wrong size. You will have to define `HAVE___UINT128_T` if you + know you have it and are using it in wolfSSL. wolfSSL v5.6.6 exports that + define in options.h when using CMake. +* The example server in directory examples/server/server.c has been removed. + It was never kept up to date, the echoserver did its job as an example and + test server. + +## New Features + +* Added functions to set algorithms lists for KEX at run-time, and some + functions to inspect which algorithms are set or are available to use. +* In v1.4.15, we had disabled SHA-1 in the build by default. SHA-1 has been + re-enabled in the build and is now "soft" disabled, where algorithms using + it can put configured for KEX. +* Add Curve25519 KEX support for server/client key agreement. + +## Improvements + +* Clean up some issues when building for Nucleus. +* Clean up some issues when building for Windows. +* Clean up some issues when building for QNX. +* Added more wolfSSHd testing. +* Added more appropriate build option guard checking. +* General improvements for the ESP32 builds. +* Better terminal support in Windows. +* Better I/O pipes and return codes when running commands or scripts over an + SSH connection. + +## Fixes + +* Fix shell terminal window resizing and it sets up the environment better. +* Fix some corner cases with the SFTP testing. +* Fix some corner cases with SFTP in general. +* Fix verifying RSA signatures. +* Add masking of file mode bits for Zephyr. +* Fix leak of terminal modes cache. + +--- + # wolfSSH v1.4.15 (December 22, 2023) ## Vulnerabilities diff --git a/configure.ac b/configure.ac index e7e6fb8d1..cf95d02fb 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # All right reserved. AC_COPYRIGHT([Copyright (C) 2014-2024 wolfSSL Inc.]) -AC_INIT([wolfssh],[1.4.16],[support@wolfssl.com],[wolfssh],[https://www.wolfssl.com]) +AC_INIT([wolfssh],[1.4.17],[support@wolfssl.com],[wolfssh],[https://www.wolfssl.com]) AC_PREREQ([2.63]) AC_CONFIG_AUX_DIR([build-aux]) @@ -18,18 +18,19 @@ AC_ARG_PROGRAM AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) -WOLFSSH_LIBRARY_VERSION=15:3:8 -# | | | -# +------+ | +---+ -# | | | +WOLFSSH_LIBRARY_VERSION=16:0:9 +# | | | +# +-----+ | +----+ +# | | | # current:revision:age -# | | | -# | | +- increment if interfaces have been added -# | | set to zero if interfaces have been removed -# | | or changed -# | +- increment if source code has changed -# | set to zero if current is incremented -# +- increment if interfaces have been added, removed or changed +# | | | +# | | +- increment if interfaces have been added +# | | +- set to zero if interfaces have been +# | | removed or changed +# | +- increment if source code has changed +# | +- set to zero if current is incremented +# +- increment if interfaces have been added, removed +# or changed AC_SUBST([WOLFSSH_LIBRARY_VERSION]) LT_PREREQ([2.2]) diff --git a/wolfssh/version.h b/wolfssh/version.h index 938beb2b3..c616365eb 100644 --- a/wolfssh/version.h +++ b/wolfssh/version.h @@ -35,8 +35,8 @@ extern "C" { #endif -#define LIBWOLFSSH_VERSION_STRING "1.4.16" -#define LIBWOLFSSH_VERSION_HEX 0x01004016 +#define LIBWOLFSSH_VERSION_STRING "1.4.17" +#define LIBWOLFSSH_VERSION_HEX 0x01004017 #ifdef __cplusplus } From 6d51cc8278cd3f81d541ad2ec03da99becb5c87a Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 22 Mar 2024 17:09:01 -0700 Subject: [PATCH 3/5] Release v1.4.17: Release Testing Fixes 1. C++ build required some additional typecasting. 2. C++ complained about using the `= { 0 }` initializer, switched to `WMEMSET()`. --- apps/wolfssh/common.c | 3 ++- apps/wolfssh/wolfssh.c | 2 +- apps/wolfsshd/wolfsshd.c | 3 ++- examples/client/common.c | 3 ++- src/wolfsftp.c | 6 ++++-- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/apps/wolfssh/common.c b/apps/wolfssh/common.c index 90650813c..5d5a90d33 100644 --- a/apps/wolfssh/common.c +++ b/apps/wolfssh/common.c @@ -451,7 +451,8 @@ int ClientPublicKeyCheck(const byte* pubKey, word32 pubKeySz, void* ctx) current->ipString); WLOG(WS_LOG_DEBUG, "\texpecting host IP : %s", (char*)ctx); - if (XSTRCMP(ctx, current->ipString) == 0) { + if (XSTRCMP((const char*)ctx, + current->ipString) == 0) { WLOG(WS_LOG_DEBUG, "\tmatched!"); ipMatch = 1; } diff --git a/apps/wolfssh/wolfssh.c b/apps/wolfssh/wolfssh.c index c1ce13a49..73a3cbbaa 100644 --- a/apps/wolfssh/wolfssh.c +++ b/apps/wolfssh/wolfssh.c @@ -794,7 +794,7 @@ static int config_parse_command_line(struct config* config, free(config->user); } sz = WSTRLEN(cursor); - config->user = WMALLOC(sz + 1, NULL, 0); + config->user = (char*)WMALLOC(sz + 1, NULL, 0); strcpy(config->user, cursor); cursor = found + 1; } diff --git a/apps/wolfsshd/wolfsshd.c b/apps/wolfsshd/wolfsshd.c index 9f95336b4..ccaafd175 100644 --- a/apps/wolfsshd/wolfsshd.c +++ b/apps/wolfsshd/wolfsshd.c @@ -1391,8 +1391,9 @@ static int SHELL_Subsystem(WOLFSSHD_CONNECTION* conn, WOLFSSH* ssh, #if defined(HAVE_SYS_IOCTL_H) wolfSSH_DoModes(ssh->modes, ssh->modesSz, childFd); { - struct winsize s = {0}; + struct winsize s; + WMEMSET(&s, 0, sizeof(s)); s.ws_col = ssh->widthChar; s.ws_row = ssh->heightRows; s.ws_xpixel = ssh->widthPixels; diff --git a/examples/client/common.c b/examples/client/common.c index 0b3ead698..302dea58f 100644 --- a/examples/client/common.c +++ b/examples/client/common.c @@ -403,7 +403,8 @@ int ClientPublicKeyCheck(const byte* pubKey, word32 pubKeySz, void* ctx) current->ipString); WLOG(WS_LOG_DEBUG, "\texpecting host IP : %s", (char*)ctx); - if (XSTRCMP(ctx, current->ipString) == 0) { + if (XSTRCMP((const char*)ctx, + current->ipString) == 0) { WLOG(WS_LOG_DEBUG, "\tmatched!"); ipMatch = 1; } diff --git a/src/wolfsftp.c b/src/wolfsftp.c index 7320c0fd7..0a90f10f6 100644 --- a/src/wolfsftp.c +++ b/src/wolfsftp.c @@ -2042,7 +2042,8 @@ int wolfSSH_SFTP_RecvOpen(WOLFSSH* ssh, int reqId, byte* data, word32 maxSz) } { - WS_SFTP_FILEATRB fileAtr = { 0 }; + WS_SFTP_FILEATRB fileAtr; + WMEMSET(&fileAtr, 0, sizeof(fileAtr)); if (SFTP_GetAttributes(ssh->fs, dir, &fileAtr, 1, ssh->ctx->heap) == WS_SUCCESS) { if ((fileAtr.per & FILEATRB_PER_MASK_TYPE) != FILEATRB_PER_FILE) { @@ -8767,7 +8768,8 @@ int wolfSSH_SFTP_Put(WOLFSSH* ssh, char* from, char* to, byte resume, WLOG(WS_LOG_SFTP, "SFTP PUT STATE: OPEN LOCAL"); #ifndef USE_WINDOWS_API { - WS_SFTP_FILEATRB fileAtr = { 0 }; + WS_SFTP_FILEATRB fileAtr; + WMEMSET(&fileAtr, 0, sizeof(fileAtr)); if (SFTP_GetAttributes(ssh->fs, from, &fileAtr, 1, ssh->ctx->heap) == WS_SUCCESS) { From 5cc6e5a6ace64fa03b58d5df83787c77ff7459d9 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Sun, 24 Mar 2024 14:29:17 -0700 Subject: [PATCH 4/5] Release v1.4.17: Bump Date --- ChangeLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 3f0b6649c..928197da7 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,4 @@ -# wolfSSH v1.4.17 (March 22, 2024) +# wolfSSH v1.4.17 (March 25, 2024) ## Vulnerabilities From a91a1fd8b64d35c1ec67aaa2b3278e258de442c3 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Mon, 25 Mar 2024 08:32:07 -0700 Subject: [PATCH 5/5] Release v1.4.17: ChaneLog typo --- ChangeLog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.md b/ChangeLog.md index 928197da7..ea4febaa9 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -24,7 +24,7 @@ functions to inspect which algorithms are set or are available to use. * In v1.4.15, we had disabled SHA-1 in the build by default. SHA-1 has been re-enabled in the build and is now "soft" disabled, where algorithms using - it can put configured for KEX. + it can be configured for KEX. * Add Curve25519 KEX support for server/client key agreement. ## Improvements