Skip to content

Commit 2690903

Browse files
Merge pull request #6884 from kareem-wolfssl/zd16824
Add explicit break to switch statement in GetHmacLength
2 parents b4724b5 + f59b22d commit 2690903

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tls.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10136,6 +10136,8 @@ static WC_INLINE byte GetHmacLength(int hmac)
1013610136
case sm3_mac:
1013710137
return WC_SM3_DIGEST_SIZE;
1013810138
#endif
10139+
default:
10140+
break;
1013910141
}
1014010142
return 0;
1014110143
}

0 commit comments

Comments
 (0)