Page MenuHomeFreeBSD

openssl: don't export nonexistant symbols
ClosedPublic

Authored by brooks on Mar 5 2024, 10:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 5, 8:18 PM
Unknown Object (File)
Sat, May 4, 1:21 PM
Unknown Object (File)
Thu, Apr 25, 8:28 PM
Unknown Object (File)
Mon, Apr 22, 10:40 PM
Unknown Object (File)
Fri, Apr 19, 3:57 PM
Unknown Object (File)
Fri, Apr 19, 2:07 PM
Unknown Object (File)
Sun, Apr 14, 5:46 PM
Unknown Object (File)
Fri, Apr 12, 4:53 PM
Subscribers

Details

Summary

These are all OpenSSL 1.1.0 and 1.1.1 symbols that aren't present in our
OpenSSL 3.0 builds.

Diff Detail

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

Event Timeline

secure/lib/libssl/Version.map
390–392

these are in crypto/openssl/ssl/methods.c, in # ifndef OPENSSL_NO_SSL3_METHOD which gets set in crypto/openssl/include/openssl/configuration.h

# ifndef OPENSSL_NO_SSL3_METHOD
#  define OPENSSL_NO_SSL3_METHOD
# endif
secure/lib/libssl/Version.map
390–392

Ok, so they aren't built and there's no way to enable them short of editing crypto/openssl/include/openssl/configuration.h.

emaste added inline comments.
secure/lib/libssl/Version.map
390–392

Yep - sorry I didn't add more in that comment. I added the comment because I at first thought they were (at least) optional but discovered that in the configuration in the tree they are indeed disabled and should not be in the symbol file.

This revision is now accepted and ready to land.Mon, Apr 22, 3:55 PM
This revision was automatically updated to reflect the committed changes.