Skip to content

Commit f59b22d

Browse files
Add explicit break to switch statement in GetHmacLength
1 parent 4f1b3ff commit f59b22d

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
@@ -10138,6 +10138,8 @@ static WC_INLINE byte GetHmacLength(int hmac)
1013810138
case sm3_mac:
1013910139
return WC_SM3_DIGEST_SIZE;
1014010140
#endif
10141+
default:
10142+
break;
1014110143
}
1014210144
return 0;
1014310145
}

0 commit comments

Comments
 (0)