-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Comments
climagabriel
added a commit
to climagabriel/lua-nginx-module
that referenced
this issue
May 2, 2025
climagabriel
added a commit
to climagabriel/lua-resty-core
that referenced
this issue
May 2, 2025
zhuizhuhaomeng
pushed a commit
to climagabriel/lua-resty-core
that referenced
this issue
May 6, 2025
zhuizhuhaomeng
pushed a commit
to openresty/lua-resty-core
that referenced
this issue
May 6, 2025
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
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
The text was updated successfully, but these errors were encountered: