h2o / picotls

TLS 1.3 implementation in C (master supports RFC8446 as well as draft-26, -27, -28)
538 stars 142 forks source link

fix missing client_ciphers when calling the client hello cb #462

Closed robguima closed 1 year ago

robguima commented 1 year ago

Sorry, but it looks like missed adding the client_ciphers for the constraints case in https://github.com/h2o/picotls/pull/227

So, when client_hello_constraints is called those aren't passed along to call_on_client_hello_cb.

robguima commented 1 year ago

ptls_decode16 is also ntoh16 which is not super helpful, but very minor (depends on how the consumer wants it).