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

start at compiling ruby-openssl with openssl 3.0.0 beta1 #445

Closed
wants to merge 5 commits into from

Conversation

mcr
Copy link
Contributor

@mcr mcr commented Jun 22, 2021

This updates a few things in openssl-missing.h so that we do not get duplicate macro errors.
After that, there are many dozen deprecation warnings, but it does compile.
We have ~5 years to remove all those deprecation warnings, but I've done one in this pull request.
Testing of this effort show failures in the test cases, which are being reviewed.

@@ -399,6 +399,10 @@ ossl_pkey_check_public_key(const EVP_PKEY *pkey)

/* OpenSSL < 1.1.0 takes non-const pointer */
ptr = EVP_PKEY_get0((EVP_PKEY *)pkey);
if(ptr == NULL) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Pardon this style note: Other if statements are following by a space character in this file. I don't know the preferred form, just noted this being slightly different from the other if conditionals.

@MSP-Greg
Copy link
Contributor

@mcr Have you looked at PR #399?

@mcr mcr marked this pull request as draft June 22, 2021 20:48
@mcr
Copy link
Contributor Author

mcr commented Jun 23, 2021

@mcr Have you looked at PR #399?

I searched, but alas, I didn't find it.
I am now at the point where I have only 6 failing tests, and I found some issues relating to PEM processing.
I will try to combine my efforts, thanks for pointing this out.

@mcr mcr closed this Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants