Skip to content

Commit 90cf037

Browse files
Grolleau-BenjaminGrom-
authored andcommitted
[api] fix stse_get_device_certificate
1 parent a9c801e commit 90cf037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/stse_device_authentication.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ stse_ReturnCode_t stse_get_device_certificate(stse_Handler_t *pSTSE, PLAT_UI8 ce
103103
STSE_CERTIFICATE_OFFSET_BYTES, /* 0 bytes offset */
104104
pCertificate, /* Returned certificate size */
105105
certificate_size, /* Certificate size length */
106-
255, /* No maximum chunck size (No chunck at all) */
106+
253, /* Above, it throw a STSE_CORE_FRAME_CRC_ERROR */
107107
STSE_NO_PROT); /* No protection */
108108

109109
if (ret != STSE_OK) {

0 commit comments

Comments
 (0)