Skip to content

Commit 5b1e6db

Browse files
author
Andras Fekete
committed
Allow user to override required flags
1 parent 7cc42d4 commit 5b1e6db

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

configure.ac

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,11 @@ AC_ARG_ENABLE([wolfprovider],
330330
)
331331
if test "x$ENABLED_WOLFPROVIDER" != "xno"
332332
then
333-
enable_all_crypto=yes
334-
enable_opensslcoexist=yes
335-
enable_sha=yes
336-
enable_eccminsz=192
337-
with_max_ecc_bits=1024
333+
test -z "$enable_all_crypto" && enable_all_crypto=yes
334+
test -z "$enable_opensslcoexist" && enable_opensslcoexist=yes
335+
test -z "$enable_sha" && enable_sha=yes
336+
test -z "$enable_eccminsz" && enable_eccminsz=192
337+
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
340340

0 commit comments

Comments
 (0)