forked from wolfSSL/wolfssl
Make sure the ECC_MIN_SZ is set even when set to default
This commit is contained in:
@ -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],
|
||||||
|
Reference in New Issue
Block a user