This symbol is present in the static library: > $ nm /usr/lib/libcrypto.a | grep EVP_PKEY_meth_get_digestsign > 0000000000000ec0 T EVP_PKEY_meth_get_digestsign but it is missing in the shared library: > $ elfdump -a /usr/lib/libcrypto.so | grep EVP_PKEY_meth_get_digestsign This was discovered when the port security/pkcs11-tools failed to build without explicitly making it to use the static library. 12.2-STABLE amd64
It looks like the Version.map for libcrypto is missing symbols from 1.1.1e and later. I've uploaded a possible (but untested!) fix at https://reviews.freebsd.org/D30483
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7ad70d22c667173586c04fc13dd315995d78fbbf commit 7ad70d22c667173586c04fc13dd315995d78fbbf Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-05-28 22:18:15 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-05-28 22:18:15 +0000 libcrypto: Add symbol versions for symbols added since 1.1.1d. While here, trim a spurious local: I missed when added SSL_sendfile. PR: 255277 Reported by: yuri Reviewed by: jkim MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30483 secure/lib/libcrypto/Version.map | 17 ++++++++++++++++- secure/lib/libssl/Version.map | 1 - 2 files changed, 16 insertions(+), 2 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f8edb3f9c725e5b4a60981ee19a56395b0497e13 commit f8edb3f9c725e5b4a60981ee19a56395b0497e13 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-05-28 22:18:15 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-06-09 21:53:42 +0000 libcrypto: Add symbol versions for symbols added since 1.1.1d. While here, trim a spurious local: I missed when added SSL_sendfile. PR: 255277 Reported by: yuri Reviewed by: jkim Differential Revision: https://reviews.freebsd.org/D30483 (cherry picked from commit 7ad70d22c667173586c04fc13dd315995d78fbbf) secure/lib/libcrypto/Version.map | 17 ++++++++++++++++- secure/lib/libssl/Version.map | 1 - 2 files changed, 16 insertions(+), 2 deletions(-)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f29f5cc6f2d390b1ae4a6c526271e37233aafc70 commit f29f5cc6f2d390b1ae4a6c526271e37233aafc70 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2021-05-28 22:18:15 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2021-06-09 21:54:13 +0000 libcrypto: Add symbol versions for symbols added since 1.1.1d. While here, trim a spurious local: I missed when added SSL_sendfile. PR: 255277 Reported by: yuri Reviewed by: jkim Differential Revision: https://reviews.freebsd.org/D30483 (cherry picked from commit 7ad70d22c667173586c04fc13dd315995d78fbbf) secure/lib/libcrypto/Version.map | 17 ++++++++++++++++- secure/lib/libssl/Version.map | 1 - 2 files changed, 16 insertions(+), 2 deletions(-)
These fixes were merged to 12.2 and 13.0 as an EN on August 24, 2021.
*** Bug 258765 has been marked as a duplicate of this bug. ***