mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
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
|
||||
AC_ARG_WITH([eccminsz],
|
||||
[AS_HELP_STRING([--with-eccminsz=BITS],[Sets the ECC minimum key size (default: 224 bits)])],
|
||||
[
|
||||
ENABLED_ECCMINSZ=$withval
|
||||
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=$withval"
|
||||
],
|
||||
[ ENABLED_ECCMINSZ=$withval ],
|
||||
[ ENABLED_ECCMINSZ=224 ]
|
||||
)
|
||||
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=$ENABLED_ECCMINSZ"
|
||||
|
||||
# Compressed Key
|
||||
AC_ARG_ENABLE([compkey],
|
||||
|
Reference in New Issue
Block a user