crypto.cpp: In function ‘int af_SHA256(const unsigned char*, size_t, unsigned char*)’: crypto.cpp:85:16: error: aggregate ‘EVP_MD_CTX ctx’ has incomplete type and cannot be defined EVP_MD_CTX ctx; ^~~ crypto.cpp: In function ‘int check_keys(EVP_PKEY*, EVP_PKEY*)’: crypto.cpp:390:16: error: aggregate ‘EVP_MD_CTX md’ has incomplete type and cannot be defined EVP_MD_CTX md; /* EVP message digest */ ^~ crypto.cpp: In function ‘int af_sign_seg3(AFFILE*, const char*, uint32_t, const unsigned char*, uint32_t, uint32_t)’: crypto.cpp:497:16: error: aggregate ‘EVP_MD_CTX md’ has incomplete type and cannot be defined EVP_MD_CTX md; /* EVP message digest */ ^~ <command-line>: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition crypto.cpp: In function ‘int af_hash_verify_seg2(AFFILE*, const char*, u_char*, size_t, int)’: crypto.cpp:621:16: error: aggregate ‘EVP_MD_CTX md’ has incomplete type and cannot be defined EVP_MD_CTX md; /* EVP message digest */ ^~ crypto.cpp: In function ‘int af_sig_verify_seg2(AFFILE*, const char*, EVP_PKEY*, u_char*, size_t, int)’: crypto.cpp:680:16: error: aggregate ‘EVP_MD_CTX md’ has incomplete type and cannot be defined EVP_MD_CTX md; /* EVP message digest */ ^~ crypto.cpp: In function ‘int af_seal_affkey_using_certificates(AFFILE*, const char**, int, unsigned char*)’: crypto.cpp:806:17: error: aggregate ‘EVP_CIPHER_CTX cipher_ctx’ has incomplete type and cannot be defined EVP_CIPHER_CTX cipher_ctx; ^~~~~~~~~~ crypto.cpp: In function ‘int af_get_affkey_using_keyfile(AFFILE*, const char*, u_char*)’: crypto.cpp:929:21: error: aggregate ‘EVP_CIPHER_CTX cipher_ctx’ has incomplete type and cannot be defined EVP_CIPHER_CTX cipher_ctx; ^~~~~~~~~~ Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebde59a375defce263126cc8bee4779c070e43eb commit ebde59a375defce263126cc8bee4779c070e43eb Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-11-13 10:48:11 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-11-13 10:48:36 +0000 app-forensics/afflib: Bump to version 3.7.17 which also fixes build with openssl-1.1 Closes: https://bugs.gentoo.org/671060 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> app-forensics/afflib/Manifest | 1 + app-forensics/afflib/afflib-3.7.17.ebuild | 65 +++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+)