Page MenuHomeFreeBSD

libcrypto: add rsa_depr.c to the build
ClosedPublic

Authored by emaste on Aug 18 2023, 7:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 1:29 AM
Unknown Object (File)
Sun, Apr 21, 6:22 AM
Unknown Object (File)
Sun, Apr 21, 6:22 AM
Unknown Object (File)
Sun, Apr 21, 6:22 AM
Unknown Object (File)
Apr 19 2024, 4:52 PM
Unknown Object (File)
Apr 14 2024, 5:32 PM
Unknown Object (File)
Apr 8 2024, 2:03 PM
Unknown Object (File)
Mar 28 2024, 2:50 AM
Subscribers

Details

Summary
It provides the RSA_generate_key function, which is deprecated as of
3.0 but is used by various ports.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
emaste added a reviewer: khorben_defora.org.

I believe D41505 plus this change cover @arrowd's reported issues.

@khorben_defora.org or I can go over the rest of the symbols in FreeBSD libcrypto.so.30 next week.

Makes sense to me to get these in and continue the audit/additions

This revision is now accepted and ready to land.Aug 18 2023, 7:52 PM

There are other deprecated APIs that we might want to include apart from just rsa_depr.c:

./crypto/openssl/apps/lib/tlssrp_depr.c
./crypto/openssl/crypto/dh/dh_depr.c
./crypto/openssl/crypto/rsa/rsa_depr.c
./crypto/openssl/crypto/dsa/dsa_depr.c
./crypto/openssl/crypto/bn/bn_depr.c
./crypto/openssl/ssl/tls_depr.c

dh_depr.c and dsa_depr.c are missing.

This revision was automatically updated to reflect the committed changes.

Accepting so the affected port's build can be unbroken.