Skip to content

Commit 508555c

Browse files
committed
configure.ac: add several missing low level crypto algorithms to all-crypto that are already included indirectly in enable-all.
1 parent 30181f2 commit 508555c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.ac

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,8 @@ then
11551155
test "$enable_dsa" = "" && test "$enable_sha" != "no" && enable_dsa=yes
11561156
if test "$ENABLED_FIPS" = "no" || test "$HAVE_FIPS_VERSION" -le 5; then
11571157
test "$enable_ecccustcurves" = "" && enable_ecccustcurves=yes
1158-
test "$enable_brainpool" = "" && enable_brainpool=yes
1158+
test "$enable_ecccustcurves" != "no" && test "$enable_brainpool" = "" && enable_brainpool=yes
1159+
test "$enable_ecccustcurves" != "no" && AM_CFLAGS="$AM_CFLAGS -DHAVE_ECC_CDH -DHAVE_ECC_KOBLITZ -DHAVE_ECC_SECPR2 -DHAVE_ECC_SECPR3"
11591160
fi
11601161
test "$enable_srp" = "" && enable_srp=yes
11611162
fi
@@ -1194,6 +1195,7 @@ then
11941195

11951196
if test "$ENABLED_FIPS" = "no" || test "$HAVE_FIPS_VERSION" -le 5; then
11961197
test "$enable_des3" = "" && enable_des3=yes
1198+
test "$enable_des3" != "no" && AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_DES_ECB"
11971199
fi
11981200

11991201
AM_CFLAGS="$AM_CFLAGS -DHAVE_AES_DECRYPT -DHAVE_AES_ECB -DWOLFSSL_ALT_NAMES"

0 commit comments

Comments
 (0)