clean up trailing whitespace and misplaced CRLFs, add missing final newlines, remove stray UTF8 nonprintables (BOMs) and ASCIIfy stray homoglyphs (spaces and apostrophes), guided by expanded coverage in wolfssl-multi-test check-source-text.

pull/7949/head
Daniel Pouzzner 2024-09-05 14:52:18 -05:00
parent a3fea482db
commit a3fb5029f8
194 changed files with 1263 additions and 1268 deletions

View File

@ -57,4 +57,3 @@ jobs:
- name: Test HaProxy - name: Test HaProxy
working-directory: haproxy working-directory: haproxy
run: make reg-tests reg-tests/ssl VTEST_PROGRAM=$GITHUB_WORKSPACE/VTest/vtest run: make reg-tests reg-tests/ssl VTEST_PROGRAM=$GITHUB_WORKSPACE/VTest/vtest

View File

@ -79,4 +79,3 @@ jobs:
run: | run: |
ldd src/ipmitool | grep wolfssl ldd src/ipmitool | grep wolfssl
ldd src/ipmievd | grep wolfssl ldd src/ipmievd | grep wolfssl

View File

@ -89,4 +89,3 @@ jobs:
./configure --with-wolfssl=$GITHUB_WORKSPACE/build-dir ./configure --with-wolfssl=$GITHUB_WORKSPACE/build-dir
make -j make -j
make -j check make -j check

View File

@ -20,7 +20,7 @@
# Reminder there's typically no $USER for GitHub actions, but: # Reminder there's typically no $USER for GitHub actions, but:
# ROOT_DIR="/mnt/c/Users/$USER/Documents/Arduino/libraries" # ROOT_DIR="/mnt/c/Users/$USER/Documents/Arduino/libraries"
# #
# The company name is "wolfSSL Inc."; Theres a space, no comma, and a period after "Inc." # The company name is "wolfSSL Inc."; There's a space, no comma, and a period after "Inc."
# The Arduino library name is "wolfssl" (all lower case) # The Arduino library name is "wolfssl" (all lower case)
# The Arduino library directory name is "wolfssl" (all lower case) # The Arduino library directory name is "wolfssl" (all lower case)
# The Arduino library include file is "wolfssl.h" (all lower case) # The Arduino library include file is "wolfssl.h" (all lower case)

View File

@ -63,4 +63,3 @@ int main(void)
return 0; return 0;
} }

View File

@ -26,4 +26,3 @@
CC: コンパイラコマンド CC: コンパイラコマンド
AR: ARコマンド AR: ARコマンド
WOLF_ROOT: Makefileの格納位置を変える場合はこの定義を変更してください WOLF_ROOT: Makefileの格納位置を変える場合はこの定義を変更してください

View File

@ -1,4 +1,4 @@
/* client.c /* client.c
* *
* Copyright (C) 2006-2024 wolfSSL Inc. * Copyright (C) 2006-2024 wolfSSL Inc.
* *

View File

@ -1,4 +1,4 @@
/* server.c /* server.c
* *
* Copyright (C) 2006-2024 wolfSSL Inc. * Copyright (C) 2006-2024 wolfSSL Inc.
* *

View File

@ -1,4 +1,4 @@
/* template_appliance.h /* template_appliance.h
* *
* Copyright (C) 2006-2024 wolfSSL Inc. * Copyright (C) 2006-2024 wolfSSL Inc.
* *

View File

@ -1,4 +1,4 @@
/ * Copyright (C) 2006-2024 wolfSSL Inc. / * Copyright (C) 2006-2024 wolfSSL Inc.
* *
* This file is part of wolfSSL. * This file is part of wolfSSL.
* *

View File

@ -1,4 +1,4 @@
/* template_appliance.h /* template_appliance.h
* *
* Copyright (C) 2006-2024 wolfSSL Inc. * Copyright (C) 2006-2024 wolfSSL Inc.
* *

View File

@ -1,4 +1,4 @@
#pragma once #pragma once
/// <summary> /// <summary>
/// This identifier should be defined before including any of the networking-related header files. /// This identifier should be defined before including any of the networking-related header files.

View File

@ -1,4 +1,4 @@
/* main.c /* main.c
* *
* Copyright (C) 2006-2024 wolfSSL Inc. * Copyright (C) 2006-2024 wolfSSL Inc.
* *

View File

@ -35,7 +35,7 @@
#ifndef NO_CRYPT_BENCHMARK #ifndef NO_CRYPT_BENCHMARK
/*-specs=nano.specs doesnt include support for floating point in printf()*/ /*-specs=nano.specs doesn't include support for floating point in printf()*/
asm (".global _printf_float"); asm (".global _printf_float");
#ifndef RTC_FREQ #ifndef RTC_FREQ

View File

@ -29,7 +29,7 @@
#define WOLFSSL_NO_CURRDIR #define WOLFSSL_NO_CURRDIR
#define WOLFSSL_LOG_PRINTF #define WOLFSSL_LOG_PRINTF
#define NO_WOLFSSL_STUB #define NO_WOLFSSL_STUB
#define NO_DYNAMIC_ARRAY /* for compilers not allowed dynamic size array */ #define NO_DYNAMIC_ARRAY /* for compilers not allowed dynamic size array */
#define WOLFSSL_SMALL_STACK #define WOLFSSL_SMALL_STACK
#define WOLFSSL_DH_CONST #define WOLFSSL_DH_CONST

View File

@ -36,9 +36,9 @@
/* cannot enable with other definition */ /* cannot enable with other definition */
/* simplest tcp client*/ /* simplest tcp client*/
/*#define SIMPLE_TCP_CLIENT */ /*#define SIMPLE_TCP_CLIENT */
/* software TLS client */ /* software TLS client */
/* #define SIMPLE_TLS_CLIENT */ /* #define SIMPLE_TLS_CLIENT */
/* use TSIP Acceleration */ /* use TSIP Acceleration */
/*#define SIMPLE_TLS_TSIP_CLIENT*/ /*#define SIMPLE_TLS_TSIP_CLIENT*/
/* simplest tcp server */ /* simplest tcp server */

View File

@ -1,4 +1,4 @@
/* client.c /* client.c
* *
* Copyright (C) 2006-2024 wolfSSL Inc. * Copyright (C) 2006-2024 wolfSSL Inc.
* *

View File

@ -1,4 +1,4 @@
/* server.c /* server.c
* *
* Copyright (C) 2006-2024 wolfSSL Inc. * Copyright (C) 2006-2024 wolfSSL Inc.
* *

View File

@ -27,7 +27,7 @@ cd libkcapi
autoreconf -i autoreconf -i
./configure --enable-kcapi-test \ ./configure --enable-kcapi-test \
--enable-kcapi-speed \ --enable-kcapi-speed \
--enable-kcapi-hasher \ --enable-kcapi-hasher \
--enable-kcapi-rngapp \ --enable-kcapi-rngapp \

View File

@ -17632,7 +17632,7 @@ int sp_mont_red_ex(sp_int* a, const sp_int* m, sp_int_digit mp, int ct)
* *
* Used when performing Montgomery Reduction. * Used when performing Montgomery Reduction.
* m must be odd. * m must be odd.
* Jeffrey Hurchallas method. * Jeffrey Hurchalla's method.
* https://arxiv.org/pdf/2204.04342.pdf * https://arxiv.org/pdf/2204.04342.pdf
* *
* @param [in] m SP integer that is the modulus. * @param [in] m SP integer that is the modulus.

View File

@ -13,10 +13,10 @@ if(CONFIG_WOLFSSL)
endif() endif()
zephyr_include_directories( zephyr_include_directories(
${ZEPHYR_CURRENT_MODULE_DIR} ${ZEPHYR_CURRENT_MODULE_DIR}
${ZEPHYR_CURRENT_MODULE_DIR}/wolfssl ${ZEPHYR_CURRENT_MODULE_DIR}/wolfssl
${ZEPHYR_CURRENT_MODULE_DIR}/zephyr ${ZEPHYR_CURRENT_MODULE_DIR}/zephyr
) )
zephyr_library() zephyr_library()
zephyr_library_sources(${ZEPHYR_CURRENT_MODULE_DIR}/zephyr/zephyr_init.c) zephyr_library_sources(${ZEPHYR_CURRENT_MODULE_DIR}/zephyr/zephyr_init.c)
@ -164,8 +164,8 @@ if(CONFIG_WOLFSSL)
zephyr_library_link_libraries(wolfSSL) zephyr_library_link_libraries(wolfSSL)
target_compile_definitions(wolfSSL INTERFACE WOLFSSL_ZEPHYR) target_compile_definitions(wolfSSL INTERFACE WOLFSSL_ZEPHYR)
target_compile_definitions(wolfSSL INTERFACE WOLFSSL_USER_SETTINGS) target_compile_definitions(wolfSSL INTERFACE WOLFSSL_USER_SETTINGS)
if(CONFIG_WOLFSSL_DEBUG) if(CONFIG_WOLFSSL_DEBUG)
target_compile_definitions(wolfSSL INTERFACE DEBUG_WOLFSSL) target_compile_definitions(wolfSSL INTERFACE DEBUG_WOLFSSL)
zephyr_library_compile_options(-g3 -O0) zephyr_library_compile_options(-g3 -O0)
@ -177,8 +177,8 @@ if(CONFIG_WOLFSSL)
# therefore susceptible to bit rot # therefore susceptible to bit rot
target_include_directories(wolfSSL INTERFACE target_include_directories(wolfSSL INTERFACE
${CONFIG_WOLFSSL_INSTALL_PATH} ${CONFIG_WOLFSSL_INSTALL_PATH}
) )
zephyr_link_libraries( zephyr_link_libraries(
wolfssl_external wolfssl_external