From 43b62c8ccfe781a93be7f2ed9b49cfcfb5ca8256 Mon Sep 17 00:00:00 2001 From: Andras Fekete Date: Thu, 16 May 2024 16:26:39 -0400 Subject: [PATCH] Make sure the ECC_MIN_SZ is set even when set to default --- configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 8f1f08591..48375d184 100644 --- a/configure.ac +++ b/configure.ac @@ -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],