Cleanup WOLFSL_STSAFE and fix issue with multi-test macros

This commit is contained in:
David Garske
2026-01-06 14:55:59 -08:00
parent a4c2398265
commit c7ca035baf
4 changed files with 12 additions and 12 deletions

View File

@@ -68,7 +68,7 @@
#if defined(WOLFSSL_RENESAS_RX64_HASH)
#include <wolfssl/wolfcrypt/port/Renesas/renesas-rx64-hw-crypt.h>
#endif
#if defined(WOLFSSL_STSAFEA100) || defined(WOLFSSL_STSAFEA120)
#ifdef WOLFSSL_STSAFE
#include <wolfssl/wolfcrypt/port/st/stsafe.h>
#endif
@@ -303,7 +303,7 @@ int wolfCrypt_Init(void)
return ret;
}
#endif
#if defined(WOLFSSL_STSAFEA100) || defined(WOLFSSL_STSAFEA120)
#ifdef WOLFSSL_STSAFE
ret = stsafe_interface_init();
if (ret != 0) {
WOLFSSL_MSG("STSAFE init failed");