commit | bddb83ad42775bb3c860599e5d3c4e95adfda3a6 | [log] [tgz] |
---|---|---|
author | Kazuho Oku <kazuhooku@gmail.com> | Thu Nov 24 13:23:48 2022 +0900 |
committer | Kazuho Oku <kazuhooku@gmail.com> | Thu Nov 24 13:23:48 2022 +0900 |
tree | 647b2ae812e3646c39e47f0b35e3bcd19f57ee2a | |
parent | ba1baf33f555c81e1f5d62bbddca7914eee87f61 [diff] |
oops
diff --git a/lib/picotls.c b/lib/picotls.c index 8f4d1a9..dc5ff03 100644 --- a/lib/picotls.c +++ b/lib/picotls.c
@@ -2594,10 +2594,8 @@ key_schedule_select_outer(tls->key_schedule); } - if (tls->client.ech == NULL) - - Exit: - ptls_clear_memory(confirm_hash_expected, sizeof(confirm_hash_expected)); +Exit: + ptls_clear_memory(confirm_hash_expected, sizeof(confirm_hash_expected)); if (ret == 0) ptls__key_schedule_update_hash(tls->key_schedule, message.base, message.len, 0); return ret;