Skip to content

Commit adadba1

Browse files
committed
ArduinoIoTCloudCertClass: include certificate class in the build also for devices using SE050 crypto
1 parent 44a5920 commit adadba1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tls/utility/Cert.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include <AIoTC_Config.h>
2525

26-
#if defined(BOARD_HAS_ECCX08) || defined(BOARD_HAS_OFFLOADED_ECCX08)
26+
#if defined(BOARD_HAS_ECCX08) || defined(BOARD_HAS_OFFLOADED_ECCX08) || defined(BOARD_HAS_SE050)
2727

2828
#include "Cert.h"
2929

@@ -915,4 +915,4 @@ int ArduinoIoTCloudCertClass::appendAuthorityKeyId(const byte authorityKeyId[],
915915
return length + 17;
916916
}
917917

918-
#endif /* (BOARD_HAS_ECCX08) || defined(BOARD_HAS_OFFLOADED_ECCX08) */
918+
#endif /* (BOARD_HAS_ECCX08) || defined(BOARD_HAS_OFFLOADED_ECCX08) || defined(BOARD_HAS_SE050) */

src/tls/utility/Cert.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#include <AIoTC_Config.h>
2626

27-
#if defined(BOARD_HAS_ECCX08) || defined(BOARD_HAS_OFFLOADED_ECCX08)
27+
#if defined(BOARD_HAS_ECCX08) || defined(BOARD_HAS_OFFLOADED_ECCX08) || defined(BOARD_HAS_SE050)
2828

2929
/******************************************************************************
3030
* DEFINE
@@ -182,6 +182,6 @@ class ArduinoIoTCloudCertClass {
182182

183183
};
184184

185-
#endif /* BOARD_HAS_ECCX08 || BOARD_HAS_OFFLOADED_ECCX08 */
185+
#endif /* BOARD_HAS_ECCX08 || BOARD_HAS_OFFLOADED_ECCX08 || BOARD_HAS_SE050*/
186186

187187
#endif /* ARDUINO_IOT_CLOUD_CERT_H */

0 commit comments

Comments
 (0)