forked from wolfSSL/wolfssl
fix leanpsk w/ new defaults
This commit is contained in:
12
configure.ac
12
configure.ac
@ -536,6 +536,12 @@ AC_ARG_ENABLE([sha512],
|
||||
[ ENABLED_SHA512=$SHA512_DEFAULT ]
|
||||
)
|
||||
|
||||
# lean pks does't need sha512
|
||||
if test "$ENABLED_SHA512" = "yes"
|
||||
then
|
||||
ENABLED_SHA512=no
|
||||
fi
|
||||
|
||||
if test "$ENABLED_SHA512" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_SHA512 -DWOLFSSL_SHA384"
|
||||
@ -660,6 +666,12 @@ AC_ARG_ENABLE([ecc],
|
||||
[ ENABLED_ECC=$ECC_DEFAULT ]
|
||||
)
|
||||
|
||||
# lean pks does't need ecc
|
||||
if test "$ENABLED_ECC" = "yes"
|
||||
then
|
||||
ENABLED_ECC=no
|
||||
fi
|
||||
|
||||
if test "$ENABLED_ECC" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC -DTFM_ECC256 -DECC_SHAMIR"
|
||||
|
Reference in New Issue
Block a user