Skip to content

Commit f53ce49

Browse files
committed
Fix from review
1 parent edd943e commit f53ce49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@ WOLFSSL_TEST_VIS word16 TLSX_SNI_GetSize(SNI* list)
21472147

21482148
switch (sni->type) {
21492149
case WOLFSSL_SNI_HOST_NAME:
2150-
length += (word16)XSTRLEN((char*)sni->data.host_name);
2150+
length += (word32)XSTRLEN((char*)sni->data.host_name);
21512151
break;
21522152
}
21532153

0 commit comments

Comments
 (0)