Skip to content

Commit 882ac88

Browse files
committed
setECTrustAnchorBearSSL: fix param length
1 parent c59ef3b commit 882ac88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utility/server_drv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,11 @@ uint8_t ServerDrv::setECTrustAnchorBearSSL(const uint8_t *dName, uint32_t dNameS
549549

550550
/* Send flags */
551551
SpiDrv::sendParam(flags);
552-
commandSize += 2;
552+
commandSize += 3;
553553

554554
/* Send curve */
555555
SpiDrv::sendParam(curve);
556-
commandSize += 2;
556+
commandSize += 3;
557557

558558
/* Send key */
559559
SpiDrv::sendBuffer((uint8_t*)key, keySize, LAST_PARAM);

0 commit comments

Comments
 (0)