Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(maint) ruby-openssl now sets store_context.error #8829

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

joshcooper
Copy link
Contributor

@joshcooper joshcooper commented Dec 1, 2021

Ruby now correctly sets the store_context.error when the cert is mismatched[1], [2]. So
in that case raise the expected CertMismatchError.

We also have to monkey patch the ruby constant, which was only recently added to
match openssl 1.1[3].

[1] ruby/openssl#244
[2] ruby/openssl@74ef8c0
[3] ruby/openssl@65ea09c

Ruby now correctly sets the store_context.error when the cert is mismatched[1], [2]. So
in that case raise the expected CertMismatchError.

We also have to monkey patch the ruby constant, which was only recently added to
match openssl 1.1[3].

[1] ruby/openssl#244
[2] ruby/openssl@74ef8c0
[3] ruby/openssl@65ea09c
@ciprianbadescu ciprianbadescu merged commit c8ad659 into puppetlabs:6.x Dec 1, 2021
@joshcooper joshcooper deleted the maint_openssl branch October 10, 2024 19:08
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.

2 participants