GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — Clear certificate chain in setKeyMaterial. by mawiwill · Pull Request #987 · netty/netty-tcnative Conversation
|
| #if !defined(OPENSSL_IS_BORINGSSL) && !defined(OPENSSL_IS_AWSLC) | ||
| #define tcn_SSL_add1_chain_cert(ssl, x509) SSL_add1_chain_cert(ssl, x509) | ||
| #define tcn_SSL_add0_chain_cert(ssl, x509) SSL_add0_chain_cert(ssl, x509) | ||
| #define tcn_SSL_clear_chain_certs(ssl) SSL_clear_chain_certs(ssl) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Why do we even need this and can't just call SSL_clear_chain_certs directly ?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Only to mimic the code that's there already. I'm happy to remove it!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
We only use our own defines if we need to use different APIs depending on which version / lib is used which seems to be not the case here and so we should just use SSL_clear_chain_certs directly.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Norman Maurer <[email protected]>
|
@mawiwill did you sign our ICLA yet ? https://netty.io/s/icla |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@mawiwill PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Just signed the ICLA! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Just one small nit
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
This definitely works for me! I have a minor question about support OpenSSL versions, mostly out of curiosity. Thanks for your quick work on the PR, I really appreciate it! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@mawiwill thanks a lot! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
### What changes were proposed in this pull request? This PR aims to upgrade `netty-tcnative` to 2.0.79.Final. ### Why are the changes needed? To bring the latest bug fixes. `netty-tcnative` 2.0.79.Final fixes BoringSSL compatibility issues (incompatible weak symbol declarations and stale `SSL_CREDENTIAL` support checks for older BoringSSL) and clears the certificate chain in `setKeyMaterial`. - https://github.com/netty/netty-tcnative/milestone/116 (2026-06-12) - netty/netty-tcnative#987 - netty/netty-tcnative#986 - netty/netty-tcnative#980 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.8 Closes #56748 from dongjoon-hyun/SPARK-57668. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
HelloRetryRequest with TLS 1.3 can result in duplicate intermediate certs when tcnative is used with OpenSSL
There was an error while loading. Please reload this page.