Fix bug in Client Hello Fuzz Test
@@ -24,7 +24,7 @@ static const uint8_t TLS_VERSIONS[] = {S2N_TLS10, S2N_TLS11, S2N_TLS12};
int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len)
{
- for(int version = 0; version < (sizeof(TLS_VERSIONS) / TLS_VERSIONS[0]); version++){
+ for(int version = 0; version < (sizeof(TLS_VERSIONS) / sizeof(TLS_VERSIONS[0])); version++){
/* Setup */
struct s2n_connection *server_conn = s2n_connection_new(S2N_SERVER);
notnull_check(server_conn);
