Project

General

Profile

Actions

Bug #17782

closed

Can not compile Ruby trunk with openssl 1.1.1k

Added by sam.saffron (Sam Saffron) about 3 years ago. Updated about 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:103281]

Description

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:
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0