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 704f949 commit 6d53646Copy full SHA for 6d53646
src/utility/ECCX08SelfSignedCert.cpp
@@ -39,9 +39,11 @@ struct __attribute__((__packed__)) CompressedCert {
39
uint8_t unused[5];
40
};
41
42
+static const uint8_t DEFAULT_SERIAL_NUMBER[] = { 0x01 };
43
+
44
ECCX08SelfSignedCertClass::ECCX08SelfSignedCertClass() :
- _serialNumber(NULL),
- _serialNumberLength(0),
45
+ _serialNumber(DEFAULT_SERIAL_NUMBER),
46
+ _serialNumberLength(sizeof(DEFAULT_SERIAL_NUMBER)),
47
_bytes(NULL),
48
_length(0)
49
{
0 commit comments