HomeFreeBSD

auditdistd: Avoid calling deprecated OpenSSL functions

Description

auditdistd: Avoid calling deprecated OpenSSL functions

As of OpenSSL 1.1 SSL_library_init() and SSL_load_error_strings() are
deprecated. There are replacement initialization functions but they do
not need to be called: "As of version 1.1.0 OpenSSL will automatically
allocate all resources that it needs so no explicit initialisation is
required."

Wrap both calls in an OPENSSL_VERSION_NUMBER block.

Upstream pull request submitted at
https://github.com/openbsm/openbsm/pull/82

PR: 271615
Reviewed by: ngie
Event: Kitchener-Waterloo Hackathon 202305
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40273

Details

Provenance
emasteAuthored on May 25 2023, 7:17 PM
Reviewer
ngie
Differential Revision
D40273: auditdistd: Avoid calling deprecated OpenSSL functions
Parents
rGf5abdb03119a: tcp: fix a bug where unshifting should be put last in tcp_get_srtt()
Branches
Unknown
Tags
Unknown