Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 658036

Summary: sys-auth/pam_p11 with >=dev-libs/openssl-1.1.0: pam_p11.c: error: implicit declaration of function ‘EVP_MD_CTX_cleanup’
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: pam-bugs+disabled, thomas.bettler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/OpenSC/pam_p11/pull/8
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 592438    
Attachments: build.log

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-06-13 11:24:45 UTC
Created attachment 535780 [details]
build.log

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -march=native -mtune=native -O2 -pipe -Wall -Wextra -Wno-unused-parameter -Werror -c pam_p11.c  -fPIC -DPIC -o .libs/pam_p11.o
pam_p11.c: In function ‘key_verify’:
pam_p11.c:593:8: error: implicit declaration of function ‘EVP_MD_CTX_cleanup’; did you mean ‘EVP_MD_CTX_create’? [-Werror=implicit-function-declaration]
    || !EVP_MD_CTX_cleanup(md_ctx)
        ^~~~~~~~~~~~~~~~~~
        EVP_MD_CTX_create
cc1: all warnings being treated as errors
make[2]: *** [Makefile:523: pam_p11.lo] Error 1
Comment 1 Larry the Git Cow gentoo-dev 2018-10-24 12:05:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e50a2a015fe3d523bfc4e72ed2175d4d6033e97

commit 3e50a2a015fe3d523bfc4e72ed2175d4d6033e97
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-10-24 12:05:16 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-10-24 12:05:48 +0000

    sys-auth/pam_p11: Fixed build with openssl-1.1
    
    Closes: https://bugs.gentoo.org/658036
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../pam_p11/files/pam_p11-0.2.0-openssl11.patch    | 76 ++++++++++++++++++++++
 sys-auth/pam_p11/pam_p11-0.2.0.ebuild              | 10 ++-
 2 files changed, 84 insertions(+), 2 deletions(-)