h2o / picotls

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

expose raw cipher-suite list from on_client_hello callback #463

Closed kazuho closed 1 year ago

kazuho commented 1 year ago

Instead of exposing a parsed list of cipher-suites (that might have been cut down at the end), expose the raw vector.

Reverts #227, closes #462.

If necessary, we can do the same for other properties (e.g., server_certificate_types), or if we want to go to the extreme, for all types include those that have complicated structures (e.g., alpn, signature_algorithms).