Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658036 - sys-auth/pam_p11 with >=dev-libs/openssl-1.1.0: pam_p11.c: error: implicit declaration of function ‘EVP_MD_CTX_cleanup’
Summary: sys-auth/pam_p11 with >=dev-libs/openssl-1.1.0: pam_p11.c: error: implicit de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2018-06-13 11:24 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-10-24 12:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,11.59 KB, text/plain)
2018-06-13 11:24 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)