mirror of https://github.com/wolfSSL/wolfBoot.git
Hard fail if the wrong user settings is detected
parent
a8afa747ae
commit
f198c6ba49
|
|
@ -46,6 +46,12 @@
|
|||
#undef NO_FILESYSTEM
|
||||
#endif
|
||||
|
||||
#ifdef WOLFBOOT_KEYTOOLS
|
||||
/* this code needs to use the Use ./include/user_settings.h file */
|
||||
#error "The wrong user_settings.h has been included."
|
||||
#endif
|
||||
|
||||
|
||||
/* HAL Stubs */
|
||||
void hal_init(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -30,6 +30,11 @@
|
|||
#include <stdio.h>
|
||||
#endif
|
||||
#include <wolfssl/wolfcrypt/settings.h> /* for wolfCrypt hash/sign routines */
|
||||
#ifdef WOLFBOOT_KEYTOOLS
|
||||
/* this code needs to use the Use ./include/user_settings.h, not keytools */
|
||||
#error "The wrong user_settings.h has been included."
|
||||
#endif
|
||||
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue