Skip to content

Commit 3257880

Browse files
committed
Added guard to OTP module for NO_SIGN
1 parent d1eabc2 commit 3257880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flash_otp_keystore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "keystore.h"
2929
#include "hal.h"
3030

31-
#ifdef FLASH_OTP_ROT
31+
#if defined(FLASH_OTP_ROT) && !defined(WOLFBOOT_NO_SIGN)
3232

3333
#ifdef TARGET_stm32h7
3434
#include "hal/stm32h7.h"
@@ -125,4 +125,4 @@ uint32_t keystore_get_key_type(int id)
125125

126126
#endif /* Keystore public key size check */
127127

128-
#endif /* FLASH_OTP_ROT */
128+
#endif /* FLASH_OTP_ROT && !WOLFBOOT_NO_SIGN */

0 commit comments

Comments
 (0)