Skip to content

Conversation

@maskit
Copy link
Member

@maskit maskit commented Jan 5, 2022

PR #8498 uses SSL_SESSION_dup which is available since OpenSSL 1.1.1. I only confirmed BoringSSL build is broken, but it probably doesn't build with older OpenSSL as well.

This PR introduces a wrapper function for SSL_SESSION_dup, and it mimics the behavior of SSL_SESSION_dup if the function is unavailable. I didn't test the implementation very seriously, but it should work if I understand the code before #8498.

@maskit maskit added Build work related to build configuration or environment TLS labels Jan 5, 2022
@maskit maskit added this to the 10.0.0 milestone Jan 5, 2022
@maskit maskit requested a review from duke8253 January 5, 2022 10:37
@maskit maskit self-assigned this Jan 5, 2022
@maskit maskit requested a review from bryancall as a code owner January 5, 2022 10:37
@maskit
Copy link
Member Author

maskit commented Jan 5, 2022

[approve ci autest]

Copy link
Contributor

@duke8253 duke8253 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Contributor

@traeak traeak left a comment

Choose a reason for hiding this comment

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

Looks good. I had updated CI to ensure we were using openssl 1.1.1l due to the security issues with previous releases but had forgotten about boringssl.

@traeak traeak merged commit 4fb10a7 into apache:master Jan 5, 2022
@zwoop
Copy link
Contributor

zwoop commented Jan 25, 2022

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Jan 25, 2022
zwoop pushed a commit that referenced this pull request Jan 25, 2022
moonchen pushed a commit to moonchen/trafficserver that referenced this pull request Mar 17, 2022
* asf/9.2.x:
  Updated ChangeLog
  Add SSLSessionDup for older OpenSSL and BoringSSL (apache#8578)
  use shared pointer to help with high memory utilization (apache#8498)
  Commenting TSHttpTxnCacheLookupStatusGet need_to_revalidate (apache#8621)
  check size of session, and free sessions the ATS way (apache#8330)
  free sessions when timeout (apache#8356)
  Fix 32bit build failure on Odroid Xu-4 (apache#8626)
  TSHttpTxnCacheLookupStatusGet: call need_to_revalidate (apache#8617)
  SNIConfig (tunnel_route): Change the way we extract matched subgroups from the server name. (apache#8589)
  fix for collapsed forwarding ink_abort for CacheHitFresh fail (apache#8613)
  Do not turn off cache for internal requests (apache#8266)
  Rate Limit Plugin: Re-enable VConnection when SNI is empty (apache#8625)
  Removes hard dependency on having perl installed (apache#8611)
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

None yet

Development

Successfully merging this pull request may close these issues.

5 participants