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)
Sat, Sep 20, 2:54 AM
Unknown Object (File)
Wed, Sep 17, 7:39 AM
Unknown Object (File)
Tue, Sep 16, 8:25 PM
Unknown Object (File)
Mon, Sep 15, 8:19 AM
Unknown Object (File)
Sep 10 2025, 4:07 PM
Unknown Object (File)
Sep 9 2025, 2:03 AM
Unknown Object (File)
Sep 5 2025, 5:40 PM
Unknown Object (File)
Aug 30 2025, 10:54 PM
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.

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.

@khorben_defora.org or I can...

or @ngie

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.