Allow user to override required flags

This commit is contained in:
Andras Fekete
2024-07-15 09:46:36 -04:00
parent 7cc42d446e
commit 5b1e6db9a5

View File

@@ -330,11 +330,11 @@ AC_ARG_ENABLE([wolfprovider],
)
if test "x$ENABLED_WOLFPROVIDER" != "xno"
then
enable_all_crypto=yes
enable_opensslcoexist=yes
enable_sha=yes
enable_eccminsz=192
with_max_ecc_bits=1024
test -z "$enable_all_crypto" && enable_all_crypto=yes
test -z "$enable_opensslcoexist" && enable_opensslcoexist=yes
test -z "$enable_sha" && enable_sha=yes
test -z "$enable_eccminsz" && enable_eccminsz=192
test -z "$with_max_ecc_bits" && with_max_ecc_bits=1024
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"
fi