Skip to content

Commit 54b760a

Browse files
committed
Fix from review
1 parent 88dc487 commit 54b760a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/tls.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14994,7 +14994,9 @@ static int TLSX_GetSize(TLSX* list, byte* semaphore, byte msgType,
1499414994
break;
1499514995
#ifdef WOLFSSL_CERT_WITH_EXTERN_PSK
1499614996
case TLSX_CERT_WITH_EXTERN_PSK:
14997-
ret = PSK_WITH_CERT_GET_SIZE(msgType, &length);
14997+
cbShim = 0;
14998+
ret = PSK_WITH_CERT_GET_SIZE(msgType, &cbShim);
14999+
length += cbShim;
1499815000
break;
1499915001
#endif
1500015002
#endif

0 commit comments

Comments
 (0)