freebsd-src/lib/libfetch
Ed Maste 01aee8c92d libfetch: do not call 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.

PR:		271615
Reviewed by:	Pierre Pronchery <pierre@freebsdfoundation.org>
Event:		Kitchener-Waterloo Hackathon 202305
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D40265
2023-05-25 12:20:15 -04:00
..
common.c libfetch: do not call deprecated OpenSSL functions 2023-05-25 12:20:15 -04:00
common.h fetch(3): Add SOCKS5 support 2020-02-15 18:03:16 +00:00
fetch.3 There's no PEM(3) anywhere around; delete reference. 2022-09-17 13:14:01 +02:00
fetch.c libfetch: disallow invalid escape sequences 2020-02-05 16:55:00 +00:00
fetch.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
file.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
ftp.c Fix libfetch out of bounds read. 2021-08-24 11:26:45 -07:00
ftp.errors
http.c libfetch: Pass a zeroed digest to DigestCalcResponse. 2022-11-15 19:18:58 -08:00
http.errors
Makefile pkgbase: Create a FreeBSD-fetch package 2021-12-21 10:17:46 +01:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00