Skip to content

Address incompatibility with BoringSSL#12943

Open
maskit wants to merge 1 commit intoapache:masterfrom
maskit:ocsp_bssl_namespace
Open

Address incompatibility with BoringSSL#12943
maskit wants to merge 1 commit intoapache:masterfrom
maskit:ocsp_bssl_namespace

Conversation

@maskit
Copy link
Member

@maskit maskit commented Mar 5, 2026

BoringSSL recently moved some data types and functions into bssl namespace. That caused build errors.

BoringSSL recently moved some data types and functions into bssl namespace.
@maskit maskit added this to the 11.0.0 milestone Mar 5, 2026
@maskit maskit self-assigned this Mar 5, 2026
@maskit maskit added the Build work related to build configuration or environment label Mar 5, 2026
@maskit maskit added the TLS label Mar 5, 2026
@maskit maskit requested a review from Copilot March 5, 2026 20:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses build failures against newer BoringSSL where some ASN.1 types/symbols have moved under the bssl namespace.

Changes:

  • Add a CMake compile-check to detect whether GENERAL_NAME lives in the bssl namespace.
  • Plumb the new HAVE_GENERAL_NAME_IN_BSSL_NAMESPACE define into the generated config header.
  • Conditionally qualify GENERAL_NAME usage in OCSP stapling ASN.1 templates.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/iocore/net/OCSPStapling.cc Uses HAVE_GENERAL_NAME_IN_BSSL_NAMESPACE to adjust ASN.1 declarations/usages for OCSP stapling.
include/tscore/ink_config.h.cmake.in Adds the new HAVE_GENERAL_NAME_IN_BSSL_NAMESPACE config define.
CMakeLists.txt Introduces the feature-detection compile check that drives HAVE_GENERAL_NAME_IN_BSSL_NAMESPACE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build work related to build configuration or environment TLS

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants