Skip to content

Commit 08eff44

Browse files
author
Alberto Iannaccone
committed
update include: ArduinoIoTCloudBearSSL.h
1 parent 34cfa59 commit 08eff44

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/sketches/provisioning.ino.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ export const provisioningSketch = {
1010
#include <utility/ECCX08Cert.h>
1111
#include <utility/ECCX08TLSConfig.h>
1212
13-
#include <ArduinoBearSSL.h>
13+
#include <ArduinoIoTCloudBearSSL.h>
1414
#include <ArduinoECCX08.h>
1515
16+
const bool DEBUG = true;
1617
const int keySlot = 0;
1718
const int compressedCertSlot = 10;
1819
const int serialNumberAndAuthorityKeyIdentifierSlot = 11;
@@ -135,6 +136,10 @@ void setup() {
135136
while (1);
136137
}
137138
139+
if (!DEBUG) {
140+
return;
141+
}
142+
138143
Serial.println("Compressed cert = ");
139144
140145
const byte* certData = ECCX08Cert.bytes();

0 commit comments

Comments
 (0)