FTBFS: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'

Bug #1670476 reported by Raphael Groner on 2017-03-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Description of problem:
Package ecryptfs-utils fails to build from source in Fedora Rawhide.

ecryptfs_key_mod_pkcs11_helper.c: In function 'ecryptfs_pkcs11h_get_public_key':
ecryptfs_key_mod_pkcs11_helper.c:284:12: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'

ecryptfs_key_mod_openssl.c:281:2: error: implicit declaration of function 'CRYPTO_malloc_init' [-Werror=implicit-function-declaration]

ecryptfs_key_mod_openssl.c:318:2: error: 'ERR_remove_state' is deprecated [-Werror=deprecated-declarations]

ecryptfs_key_mod_openssl.c:355:2: error: 'RSA_generate_key' is deprecated [-Werror=deprecated-declarations]

This is caused by upgrading openssl from 1:1.0.2j-1.fc26 to 1:1.1.0b-1.fc26.

Additional info:
This package is tracked by Koschei. See:

Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1384023

Jelle van der Waa (jelle-vdwaa) wrote :

The following patch fixes the build with openssl 1.1.X

Jelle van der Waa (jelle-vdwaa) wrote :

I'd like to make a PR for it, but I'm not sure how I am supposed to do that.

Raphael Groner (projects-rg) wrote :

Your patch does not work in current Fedora rawhide.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.