From f7bd00d10527495eb77a7a673ae9f681e635f8bf Mon Sep 17 00:00:00 2001 From: Moritz Buhl Date: Mon, 1 Jun 2026 10:16:02 +0200 Subject: [PATCH] tpm2: Remove early error to define RADIX_BITS. Signed-off-by: Moritz Buhl --- src/tpm2/TPMCmd/tpm/include/tpm_public/tpm_radix.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tpm2/TPMCmd/tpm/include/tpm_public/tpm_radix.h b/src/tpm2/TPMCmd/tpm/include/tpm_public/tpm_radix.h index 8839bbd4..f4f41b51 100644 --- a/src/tpm2/TPMCmd/tpm/include/tpm_public/tpm_radix.h +++ b/src/tpm2/TPMCmd/tpm/include/tpm_public/tpm_radix.h @@ -12,13 +12,11 @@ # if defined(SIXTY_FOUR_BIT_LONG) || defined(SIXTY_FOUR_BIT) // x32 architecture # define RADIX_BITS 64 # endif -# ifndef RADIX_BITS -# error Need to determine RADIX_BITS value -# endif #else # error Target platform is not supported #endif // libtpms added end +// reachable with LibreSSL: #ifndef RADIX_BITS # if defined(__x86_64__) || defined(__x86_64) || defined(__amd64__) \ || defined(__amd64) || defined(_WIN64) || defined(_M_X64) || defined(_M_ARM64) \