Skip to content

Commit d93a5ee

Browse files
committed
linuxkm/linuxkm-fips-hash-wrapper.sh: fix whitespace.
1 parent 610b109 commit d93a5ee

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.wolfssl_known_macro_extras

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ WIFI_101
684684
WIFI_AVAILABLE
685685
WIFI_NINA
686686
WIN_REUSE_CRYPT_HANDLE
687-
WOLFCRYPT_FIPS_CORE_DYNAMIC_HASH_VALUE_SUPPORT
687+
WOLFCRYPT_FIPS_CORE_DYNAMIC_HASH_VALUE
688688
WOLFSENTRY_H
689689
WOLFSENTRY_NO_JSON
690690
WOLFSSL_32BIT_MILLI_TIME

linuxkm/linuxkm-fips-hash-wrapper.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ fi
4747

4848
if [[ ! -v COREKEY ]]; then
4949
if [[ ! -v LIBWOLFSSL ]]; then
50-
LIBWOLFSSL=./libwolfssl-user-build/src/.libs/libwolfssl.so
50+
LIBWOLFSSL=./libwolfssl-user-build/src/.libs/libwolfssl.so
5151
fi
5252
read -a coreKey_a < <("${READELF-readelf}" --symbols --wide "$LIBWOLFSSL" | grep --max-count=1 -E -e '[[:space:]]coreKey$') || exit $?
5353
if [[ ${#coreKey_a[@]} != 8 || "${coreKey_a[2]}" != "65" ]]; then
54-
echo "unexpected readelf output: \"${coreKey_a[*]}\" (${#coreKey_a[@]})" >&2
55-
exit 1
54+
echo "unexpected readelf output: \"${coreKey_a[*]}\" (${#coreKey_a[@]})" >&2
55+
exit 1
5656
fi
5757
coreKey_offset=$((0x${coreKey_a[1]}))
5858
COREKEY=$(dd if="$LIBWOLFSSL" bs=64 iflag=skip_bytes,count_bytes skip="$coreKey_offset" count=64 status=none) || exit $?
5959
if [[ "$COREKEY" =~ ^[0-9A-Fa-f]{64}$ ]]; then
60-
:
60+
:
6161
else
62-
echo "unexpected value for coreKey \"${COREKEY}\"." >&2
63-
exit 1
62+
echo "unexpected value for coreKey \"${COREKEY}\"." >&2
63+
exit 1
6464
fi
6565
fi
6666

0 commit comments

Comments
 (0)