We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713e20c commit 757fb28Copy full SHA for 757fb28
firmware/provision/CryptoProvision/CryptoProvision.ino
@@ -516,14 +516,7 @@ void processCommand() {
516
sendData(MESSAGE_TYPE::RESPONSE, response, 1);
517
}
518
if (cmdCode == COMMAND::RECONSTRUCT_CERT) {
519
-
520
- if (!Cert.begin()) {
521
- Serial1.println("Error starting Crypto cert reconstruction!");
522
- char response[] = {char(RESPONSE::RESPONSE_ERROR)};
523
- sendData(MESSAGE_TYPE::RESPONSE, response, 1);
524
- return;
525
- }
526
+ Serial1.println("reconstruct certificate");
527
if (!Crypto.readCert(Cert, CryptoSlot::CompressedCertificate)) {
528
Serial1.println("Error reconstructing Crypto cert!");
529
char response[] = {char(RESPONSE::RESPONSE_ERROR)};
0 commit comments