commit | cf0fe989d4630558d1131bb1930e85d6b579e41e | [log] [tgz] |
---|---|---|
author | Kazuho Oku <kazuhooku@gmail.com> | Mon Apr 05 14:19:09 2021 +0900 |
committer | Kazuho Oku <kazuhooku@gmail.com> | Mon Apr 05 14:19:09 2021 +0900 |
tree | a72308bcf300a72b91816a4360d0979a77297bca | |
parent | c4136e1374897c46f6e535dca9ebea07eb260f7a [diff] |
suppress "sizeof returns 0" warning
diff --git a/t/picotls.c b/t/picotls.c index 5390a66..01fb2e3 100644 --- a/t/picotls.c +++ b/t/picotls.c
@@ -53,7 +53,7 @@ { 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); } {