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
F108431691: D41506.id.diff
Fri, Jan 24, 5:35 PM
Unknown Object (File)
Mon, Jan 13, 5:18 PM
Unknown Object (File)
Dec 24 2024, 8:23 PM
Unknown Object (File)
Oct 27 2024, 11:24 AM
Unknown Object (File)
Oct 27 2024, 11:07 AM
Unknown Object (File)
Oct 25 2024, 7:28 AM
Unknown Object (File)
Oct 8 2024, 9:20 PM
Unknown Object (File)
Sep 21 2024, 4:52 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

Lint
Lint Skipped
Unit
Tests Skipped

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.