ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: sam.saffron@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:103281] [Ruby master Bug#17782] Can not compile Ruby trunk with openssl 1.1.1k
Date: Wed, 07 Apr 2021 22:48:20 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-17782.20210407224820.5660@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-17782.20210407224820.5660@ruby-lang.org

Issue #17782 has been reported by sam.saffron (Sam Saffron).

----------------------------------------
Bug #17782: Can not compile Ruby trunk with openssl 1.1.1k
https://bugs.ruby-lang.org/issues/17782

* Author: sam.saffron (Sam Saffron)
* Status: Open
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
Following latest openssl upstream (maybe b91f62f) I can no longer compile Ruby trunk against 1.1.1k

```
In file included from ossl.h:155,
                 from ossl_hmac.c:10:
ossl_hmac.c: In function 'ossl_hmac_reset':
openssl_missing.h:58:37: error: invalid use of incomplete typedef 'EVP_MD_CTX' {aka 'struct evp_md_ctx_st'}
   58 | #  define EVP_MD_CTX_pkey_ctx(x) (x)->pctx
      |                                     ^~
ossl_hmac.c:241:35: note: in expansion of macro 'EVP_MD_CTX_pkey_ctx'
  241 |     pkey = EVP_PKEY_CTX_get0_pkey(EVP_MD_CTX_pkey_ctx(ctx));
      |                                   ^~~~~~~~~~~~~~~~~~~
ossl_hmac.c: At top level:
```





-- 
https://bugs.ruby-lang.org/

       reply	other threads:[~2021-04-07 22:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 22:48 sam.saffron [this message]
2021-04-07 23:30 ` [ruby-core:103284] [Ruby master Bug#17782] Can not compile Ruby trunk with openssl 1.1.1k xtkoba+ruby
2021-04-07 23:35 ` [ruby-core:103285] " sam.saffron
2021-04-08  0:08 ` [ruby-core:103286] " xtkoba+ruby
2021-04-08  0:54 ` [ruby-core:103287] " sam.saffron
2021-04-08  1:24 ` [ruby-core:103289] " xtkoba+ruby
2021-04-08  1:43 ` [ruby-core:103290] " mame

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-17782.20210407224820.5660@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).