mirror of https://github.com/wolfSSL/wolfssl.git
Make sure the ECC_MIN_SZ is set even when set to default
parent
474b8a0673
commit
43b62c8ccf
|
@ -3964,12 +3964,10 @@ fi
|
||||||
# ECC Minimum Key Size
|
# ECC Minimum Key Size
|
||||||
AC_ARG_WITH([eccminsz],
|
AC_ARG_WITH([eccminsz],
|
||||||
[AS_HELP_STRING([--with-eccminsz=BITS],[Sets the ECC minimum key size (default: 224 bits)])],
|
[AS_HELP_STRING([--with-eccminsz=BITS],[Sets the ECC minimum key size (default: 224 bits)])],
|
||||||
[
|
[ ENABLED_ECCMINSZ=$withval ],
|
||||||
ENABLED_ECCMINSZ=$withval
|
|
||||||
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=$withval"
|
|
||||||
],
|
|
||||||
[ ENABLED_ECCMINSZ=224 ]
|
[ ENABLED_ECCMINSZ=224 ]
|
||||||
)
|
)
|
||||||
|
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=$ENABLED_ECCMINSZ"
|
||||||
|
|
||||||
# Compressed Key
|
# Compressed Key
|
||||||
AC_ARG_ENABLE([compkey],
|
AC_ARG_ENABLE([compkey],
|
||||||
|
|
Loading…
Reference in New Issue