Skip to content

Commit c3d30e7

Browse files
author
Andras Fekete
committed
Fix the actual definition of the ECC_MIN_KEY_SZ
1 parent 0eeae4d commit c3d30e7

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

configure.ac

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ then
333333
test -z "$enable_all_crypto" && enable_all_crypto=yes
334334
test -z "$enable_opensslcoexist" && enable_opensslcoexist=yes
335335
test -z "$enable_sha" && enable_sha=yes
336-
test -z "$enable_eccminsz" && enable_eccminsz=192
336+
test -z "$with_eccminsz" && with_eccminsz=192
337337
test -z "$with_max_ecc_bits" && with_max_ecc_bits=1024
338338
AM_CFLAGS="$AM_CFLAGS -DWC_RSA_NO_PADDING -DWOLFSSL_PUBLIC_MP -DHAVE_PUBLIC_FFDHE -DHAVE_FFDHE_6144 -DHAVE_FFDHE_8192 -DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER"
339339
fi
@@ -345,6 +345,11 @@ AC_ARG_ENABLE([engine],
345345
[ ENABLED_WOLFENGINE=no ]
346346
)
347347

348+
if test "x$ENABLED_WOLFENGINE" != "xno"
349+
then
350+
test -z "$with_eccminsz" && with_eccminsz=192
351+
fi
352+
348353
AS_CASE([$ENABLED_WOLFENGINE],
349354
[no],[
350355
ENABLED_WOLFENGINE="no"
@@ -9342,7 +9347,6 @@ then
93429347
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_DIRECT"
93439348
AM_CFLAGS="$AM_CFLAGS -DWC_RSA_NO_PADDING"
93449349
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PUBLIC_MP"
9345-
AM_CFLAGS="$AM_CFLAGS -DECC_MIN_KEY_SZ=192"
93469350
fi
93479351
93489352
if test "$ENABLED_WOLFENGINE" = "yes" && test "$ENABLED_FIPS" != "no"

0 commit comments

Comments
 (0)