mirror of https://github.com/wolfSSL/wolfBoot.git
Merge pull request #624 from gojimmypi/pr-detect-user-settings
Hard fail if the wrong user settings is detectedpull/636/head
commit
c02c273cf5
|
|
@ -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