Skip to content

ext/openssl/ossl_pkey.c: fix build with libressl >= 3.5.0 #6005

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

Closed
wants to merge 1 commit into from
Closed

ext/openssl/ossl_pkey.c: fix build with libressl >= 3.5.0 #6005

wants to merge 1 commit into from

Conversation

ffontaine
Copy link

Fix the following build failure with libressl >= 3.5.0:

ossl_pkey.c: In function 'ossl_pkey_export_traditional':
ossl_pkey.c:681:62: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
  681 |  EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &aname, pkey->ameth);
      |                                                              ^~

Fixes:

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Fix the following build failure with libressl >= 3.5.0:

ossl_pkey.c: In function 'ossl_pkey_export_traditional':
ossl_pkey.c:681:62: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
  681 |  EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &aname, pkey->ameth);
      |                                                              ^~

Fixes:
 - http://autobuild.buildroot.org/results/9b2622fbc4c2c2b787578ee83fc6a23795a84415

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@hsbt
Copy link
Member

hsbt commented Jun 10, 2022

Can you submit this to upstream? Thanks.

@hsbt hsbt closed this Jun 10, 2022
@jeremyevans
Copy link
Contributor

No need to submit this upstream, as I fixed this upstream in ruby/openssl#506. We just haven't updated the openssl gem in the ruby repository since Christmas.

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.

3 participants