Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -12241,10 +12241,13 @@ then
ENABLED_CERTEXT="yes"
fi

# Requires md5
if test "$ENABLED_MD5" = "no"
# Has option for md5 hashing, enabled by default for non-FIPS 140-3
if test "$ENABLED_FIPS" = "no" || test $HAVE_FIPS_VERSION -lt 5
then
ENABLED_MD5="yes"
elif test "$enable_md5" != "yes"
then
ENABLED_MD5="no"
fi

# Requires aesctr
Expand All @@ -12266,7 +12269,7 @@ then
fi

# Has option for signing with ED25519
if test "$ENABLED_ED25519" = "no"
if test "$ENABLED_ED25519" = "no" && (test "$ENABLED_FIPS" = "no" || test $HAVE_FIPS_VERSION -ge 6)
then
Comment thread
sebastian-carpenter marked this conversation as resolved.
ENABLED_ED25519=yes
ENABLED_FEMATH=yes
Expand Down Expand Up @@ -12295,7 +12298,12 @@ then
# Uses alt name
ENABLED_ALTNAMES="yes"

AM_CFLAGS="$AM_CFLAGS -DHAVE_OID_ENCODING -DWOLFSSL_NO_ASN_STRICT"
AM_CFLAGS="$AM_CFLAGS -DHAVE_OID_ENCODING"

if test "$ENABLED_FIPS" = "no"
then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_NO_ASN_STRICT"
fi

# wolfCLU allows MD5 with wc_Signature*; lower the hash strength floor
# when MD5 is compiled in.
Expand Down
Loading