Skip to content

Commit 43b62c8

Browse files
author
Andras Fekete
committed
Make sure the ECC_MIN_SZ is set even when set to default
1 parent 474b8a0 commit 43b62c8

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

configure.ac

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3964,12 +3964,10 @@ fi
39643964
# ECC Minimum Key Size
39653965
AC_ARG_WITH([eccminsz],
39663966
[AS_HELP_STRING([--with-eccminsz=BITS],[Sets the ECC minimum key size (default: 224 bits)])],
3967-
[
3968-
ENABLED_ECCMINSZ=$withval
3969-
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=$withval"
3970-
],
3967+
[ ENABLED_ECCMINSZ=$withval ],
39713968
[ ENABLED_ECCMINSZ=224 ]
39723969
)
3970+
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=$ENABLED_ECCMINSZ"
39733971

39743972
# Compressed Key
39753973
AC_ARG_ENABLE([compkey],

0 commit comments

Comments
 (0)