mirror of https://github.com/wolfSSL/wolfssl.git
fix typos in configure.ac (from shellcheck --severity=warning).
parent
32ff165d8b
commit
800f4df7a3
17
configure.ac
17
configure.ac
|
@ -186,10 +186,10 @@ AC_ARG_ENABLE([harden-tls],
|
||||||
|
|
||||||
if test "x$ENABLED_HARDEN_TLS" != "xno"
|
if test "x$ENABLED_HARDEN_TLS" != "xno"
|
||||||
then
|
then
|
||||||
if test "x$ENABLED_HARDEN_TLS" == "xyes" || test "x$ENABLED_HARDEN_TLS" == "x112"
|
if test "x$ENABLED_HARDEN_TLS" = "xyes" || test "x$ENABLED_HARDEN_TLS" = "x112"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_HARDEN_TLS=112"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_HARDEN_TLS=112"
|
||||||
elif test "x$ENABLED_HARDEN_TLS" == "x128"
|
elif test "x$ENABLED_HARDEN_TLS" = "x128"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_HARDEN_TLS=128"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_HARDEN_TLS=128"
|
||||||
else
|
else
|
||||||
|
@ -4068,7 +4068,7 @@ then
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR([You need to enable both DTLS and TLSv1.3 to use DTLSv1.3])
|
AC_MSG_ERROR([You need to enable both DTLS and TLSv1.3 to use DTLSv1.3])
|
||||||
fi
|
fi
|
||||||
if test "x$ENABLED_SEND_HRR_COOKIE" == "xundefined"
|
if test "x$ENABLED_SEND_HRR_COOKIE" = "xundefined"
|
||||||
then
|
then
|
||||||
AC_MSG_NOTICE([DTLSv1.3 is enabled, enabling HRR cookie])
|
AC_MSG_NOTICE([DTLSv1.3 is enabled, enabling HRR cookie])
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SEND_HRR_COOKIE"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SEND_HRR_COOKIE"
|
||||||
|
@ -5221,7 +5221,7 @@ then
|
||||||
fi
|
fi
|
||||||
if test "$ENABLED_TLS13_EARLY_DATA" = "yes"
|
if test "$ENABLED_TLS13_EARLY_DATA" = "yes"
|
||||||
then
|
then
|
||||||
if test "x$ENABLED_TLS13" = "xno" && test "X$ENABLED_ALL" = "xno"
|
if test "x$ENABLED_TLS13" = "xno" && test "x$ENABLED_ALL" = "xno"
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR([cannot enable earlydata without enabling tls13.])
|
AC_MSG_ERROR([cannot enable earlydata without enabling tls13.])
|
||||||
fi
|
fi
|
||||||
|
@ -6072,7 +6072,7 @@ then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALT_CERT_CHAINS"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALT_CERT_CHAINS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "xENABLE_IP_ALT_NAME" = "xno"
|
if test "x$ENABLE_IP_ALT_NAME" = "xno"
|
||||||
then
|
then
|
||||||
ENABLE_IP_ALT_NAME="yes"
|
ENABLE_IP_ALT_NAME="yes"
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_IP_ALT_NAME"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_IP_ALT_NAME"
|
||||||
|
@ -7525,7 +7525,7 @@ fi
|
||||||
|
|
||||||
if test -n "$MPI_MAX_KEY_BITS" -o -n "$WITH_MAX_ECC_BITS"; then
|
if test -n "$MPI_MAX_KEY_BITS" -o -n "$WITH_MAX_ECC_BITS"; then
|
||||||
if test -n "$MAX_MPI_KEY_BITS" -a -n "$WITH_MAX_ECC_BITS"; then
|
if test -n "$MAX_MPI_KEY_BITS" -a -n "$WITH_MAX_ECC_BITS"; then
|
||||||
if test -n "$MAX_MPI_KEY_BITS" -lt "$WITH_MAX_ECC_BITS"; then
|
if test "$MAX_MPI_KEY_BITS" -lt "$WITH_MAX_ECC_BITS"; then
|
||||||
MPI_MAX_KEY_BITS="$WITH_MAX_ECC_BITS"
|
MPI_MAX_KEY_BITS="$WITH_MAX_ECC_BITS"
|
||||||
fi
|
fi
|
||||||
elif test -n "$WITH_MAX_ECC_BITS"; then
|
elif test -n "$WITH_MAX_ECC_BITS"; then
|
||||||
|
@ -8668,9 +8668,9 @@ echo "#endif" >> $OPTION_FILE
|
||||||
echo "" >> $OPTION_FILE
|
echo "" >> $OPTION_FILE
|
||||||
|
|
||||||
# check for supported command to trim option with
|
# check for supported command to trim option with
|
||||||
if colrm &> /dev/null; then
|
if colrm >/dev/null 2>&1 </dev/null; then
|
||||||
TRIM="colrm 3"
|
TRIM="colrm 3"
|
||||||
elif cut &> /dev/null; then
|
elif cut >/dev/null 2>&1 </dev/null; then
|
||||||
TRIM="cut -c1-2"
|
TRIM="cut -c1-2"
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([Could not find colrm or cut to make options file])
|
AC_MSG_ERROR([Could not find colrm or cut to make options file])
|
||||||
|
@ -8896,7 +8896,6 @@ echo " * wolfCrypt Only: $ENABLED_CRYPTONLY"
|
||||||
echo " * HKDF: $ENABLED_HKDF"
|
echo " * HKDF: $ENABLED_HKDF"
|
||||||
echo " * HPKE: $ENABLED_HPKE"
|
echo " * HPKE: $ENABLED_HPKE"
|
||||||
echo " * X9.63 KDF: $ENABLED_X963KDF"
|
echo " * X9.63 KDF: $ENABLED_X963KDF"
|
||||||
echo " * MD4: $ENABLED_MD4"
|
|
||||||
echo " * PSK: $ENABLED_PSK"
|
echo " * PSK: $ENABLED_PSK"
|
||||||
echo " * Poly1305: $ENABLED_POLY1305"
|
echo " * Poly1305: $ENABLED_POLY1305"
|
||||||
echo " * LEANPSK: $ENABLED_LEANPSK"
|
echo " * LEANPSK: $ENABLED_LEANPSK"
|
||||||
|
|
Loading…
Reference in New Issue