Skip to content

tls_inspector: fix ja4_fingerprint_test build with OpenSSL - #48630

Merged
jwendell merged 1 commit into
envoyproxy:mainfrom
jwendell:fix-ja4-test-openssl
Oct 23, 2026
Merged

jwendell merged 1 commit into
envoyproxy:mainfrom
jwendell:fix-ja4-test-openssl

Conversation

@jwendell

Copy link
Copy Markdown
Member

EndToEndGreaseSigAlgProducesExpectedFingerprint uses SSL_parse_client_hello, which is BoringSSL-only and not provided by bssl-compat, breaking --config=openssl builds. Compile the test only for BoringSSL. OpenSSL builds keep coverage via
GreaseValueFilteredFromSignatureAlgorithms and the Browser-1-Grease-SigAlg case in tls_inspector_ja4_test.cc, which uses the same ClientHello through the real listener filter.

@jwendell
jwendell enabled auto-merge (squash) October 23, 2026 16:51
`EndToEndGreaseSigAlgProducesExpectedFingerprint` uses
`SSL_parse_client_hello`, which is BoringSSL-only and not provided by
bssl-compat, breaking `--config=openssl` builds. Compile the test only for
BoringSSL. OpenSSL builds keep coverage via
`GreaseValueFilteredFromSignatureAlgorithms` and the `Browser-1-Grease-SigAlg`
case in `tls_inspector_ja4_test.cc`, which uses the same ClientHello through
the real listener filter.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Jonh Wendell <[email protected]>
@jwendell
jwendell force-pushed the fix-ja4-test-openssl branch from 8d82a23 to 0d2b164 Compare October 23, 2026 16:59

@KBaichoo KBaichoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, sorry for the breakage

@jwendell
jwendell merged commit fdf366a into envoyproxy:main Oct 23, 2026
27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants