Skip to content

Commit

Permalink
suppress "sizeof returns 0" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Apr 5, 2021
1 parent c4136e1 commit cf0fe98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/picotls.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static void test_select_cipher(void)

{
static const uint8_t input[] = {};
ok(select_cipher(&selected, candidates, input, input + sizeof(input), 0) == PTLS_ALERT_HANDSHAKE_FAILURE);
ok(select_cipher(&selected, candidates, input, input, 0) == PTLS_ALERT_HANDSHAKE_FAILURE);
}

{
Expand Down

0 comments on commit cf0fe98

Please sign in to comment.