Merge pull request #8925 from mattia-moffa/20250625-wolftpm-ca-false

Allow CA:FALSE on wolftpm
This commit is contained in:
Daniel Pouzzner
2025-06-25 22:27:27 -05:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -2085,6 +2085,7 @@ if(WOLFSSL_TPM)
override_cache(WOLFSSL_CERTEXT "yes")
override_cache(WOLFSSL_PKCS7 "yes")
override_cache(WOLFSSL_AESCFB "yes")
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_ALLOW_ENCODING_CA_FALSE")
endif()
if(WOLFSSL_CLU)

View File

@@ -7243,6 +7243,9 @@ then
# Requires public mp_
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PUBLIC_MP"
# Requires allowing CA:FALSE in BasicConstraints
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALLOW_ENCODING_CA_FALSE"
fi
if test "x$ENABLED_SMIME" = "xyes"