From 2219ccc1825ed5983289882b3dc51eee5331146a Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Wed, 27 Mar 2024 00:29:14 +0100 Subject: [PATCH] resolved-dnstls: remove deprecated openssl functions There are replacements available in OpenSLL 1.1.0, but those should not be needed. To quote the docs: > As of version 1.1.0 OpenSSL will automatically allocate all resources > that it needs so no explicit initialisation is required. > Similarly it will also automatically deinitialise as required. --- src/resolve/resolved-dnstls-openssl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/resolve/resolved-dnstls-openssl.c b/src/resolve/resolved-dnstls-openssl.c index fbcee7fc63..3112ccb677 100644 --- a/src/resolve/resolved-dnstls-openssl.c +++ b/src/resolve/resolved-dnstls-openssl.c @@ -392,9 +392,6 @@ int dnstls_manager_init(Manager *manager) { assert(manager); - ERR_load_crypto_strings(); - SSL_load_error_strings(); - manager->dnstls_data.ctx = SSL_CTX_new(TLS_client_method()); if (!manager->dnstls_data.ctx) return -ENOMEM;