maskit opened a new pull request, #14135:
URL: https://github.com/apache/trafficserver/pull/14135

   `test_tls_signature_algorithms` expected `-` in the `%<cqssin>` column on 
every BoringSSL build. BoringSSL added `SSL_get_signature_algorithm_used` in 
`d03dbc3e5d` (first released in 0.20260526.0), and ATS uses it when CMake finds 
it. On BoringSSL builds that have the function, ATS logs the correct algorithm 
and the test fails.
   
   - `traffic_layout --features` reports a new 
`TS_HAS_TLS_NEGOTIATED_SIGNATURE_ALGORITHM`. It is 1 when 
`SSLGetNegotiatedSignatureAlgorithm` can report the scheme: either 
`HAVE_SSL_GET_SIGNATURE_ALGORITHM_USED`, or both 
`HAVE_SSL_GET_LOCAL_SIGNATURE_NIDS` and `HAVE_SSL_GET_SHARED_SIGALGS`.
   - The test checks that feature instead of the TLS library name. The gold 
files are unchanged.
   
   ## CI
   
   No CI job runs the changed expectation today. The BoringSSL commits pinned 
in the CI images (`45b2464` on Rocky Linux 8, `c3ffc33` on Fedora 44 and 45) 
predate the function, so those builds report the feature as 0 and still expect 
`-`. The PR Uranium job builds against the system OpenSSL, which reports 1 as 
before.
   
   ## Testing
   
   - `test_tls_signature_algorithms` passes with BoringSSL (a build that has 
`SSL_get_signature_algorithm_used`) and with OpenSSL 4.
   - Inverting the feature check makes the test fail on BoringSSL, on every row 
where the negotiated column has a value.
   - Not run on a BoringSSL build without the function. There the feature is 0 
because BoringSSL lacks `SSL_get_signature_nid` and 
`SSL_get_signature_type_nid`, so the test expects `-` as before.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to