Skip to content

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

Closed
ffontaine wants to merge 1 commit intoruby:masterfrom
ffontaine:master
Closed

ext/openssl/ossl_pkey.c: fix build with libressl >= 3.5.0#6005
ffontaine wants to merge 1 commit intoruby:masterfrom
ffontaine:master

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