Skip to content

ssl_client_hello_by_lua lacks get_client_hello_ext_present #2413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
climagabriel opened this issue May 1, 2025 · 1 comment
Closed

ssl_client_hello_by_lua lacks get_client_hello_ext_present #2413

climagabriel opened this issue May 1, 2025 · 1 comment

Comments

@climagabriel
Copy link
Contributor

Hi,

Not to sound entitled but it's a big omission that you can get_client_hello_ext(42) to get the 42nd extension but can't check what extensions are even present, before you do it. The only way to do this currently is to iterate on get_client_hello_ext() and hope that you didn't miss something.

OPENSSL does provide a clean way to this though:
SSL_client_hello_get1_extensions_present().

I'm working to implement this myself. But if anyone wants to pitch in bless you, thx

@climagabriel
Copy link
Contributor Author

thanks @zhuizhuhaomeng for helping me get these changes merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant