Skip to content

Conversation

@rhenium
Copy link
Member

@rhenium rhenium commented Jul 27, 2025

Commit ef27708 overlooked a caller of ossl_x509_new() with NULL argument. OpenSSL::X509::StoreContext#current_cert may not have a certificate to return if StoreContext#verify has not been called.

Commit ef27708 overlooked a caller of ossl_x509_new() with NULL
argument. OpenSSL::X509::StoreContext#current_cert may not have a
certificate to return if StoreContext#verify has not been called.
@rhenium rhenium force-pushed the ky/x509store-storectx-current-cert-nil branch from f0dd047 to 4149b43 Compare July 27, 2025 15:50
@rhenium rhenium merged commit 85ce82d into ruby:master Jul 31, 2025
41 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.

1 participant