File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 21
21
22
22
#include " SHA256.h"
23
23
24
+ #if OTA_ENABLED
25
+
24
26
/* *****************************************************************************
25
27
* STATIC MEMBER DECLARATION
26
28
******************************************************************************/
@@ -58,3 +60,5 @@ void SHA256::finalize(uint8_t * hash)
58
60
mbedtls_sha256_finish (&_ctx, hash);
59
61
#endif
60
62
}
63
+
64
+ #endif /* OTA_ENABLED */
Original file line number Diff line number Diff line change 23
23
******************************************************************************/
24
24
#include < AIoTC_Config.h>
25
25
26
+ #if OTA_ENABLED
27
+
26
28
#if defined(BOARD_HAS_OFFLOADED_ECCX08) || defined(BOARD_HAS_ECCX08) || defined(BOARD_HAS_SOFTSE)
27
29
#define HAS_BEARSSL
28
30
#else
@@ -61,4 +63,6 @@ class SHA256
61
63
62
64
};
63
65
66
+ #endif /* OTA_ENABLED */
67
+
64
68
#endif /* ARDUINO_TLS_UTILITY_SHA256_H_ */
You can’t perform that action at this time.
0 commit comments