From a21ca74e83a6459762c2f3e4b134c4297689cbe9 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 17 Apr 2023 14:32:25 +0200 Subject: [PATCH] MINOR: ssl: remove OpenSSL 1.0.2 mention into certificate loading error Remove the mention to OpenSSL 1.0.2 in the certificate chain loading error, which is not relevant. Could be backported in 2.7. --- src/ssl_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 740fc0aebe..cb544d4e4c 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -3389,7 +3389,7 @@ static int ssl_sock_load_cert_chain(const char *path, const struct ckch_data *da #ifdef SSL_CTX_set1_chain if (!SSL_CTX_set1_chain(ctx, *find_chain)) { ret = ERR_get_error(); - memprintf(err, "%sunable to load chain certificate into SSL Context '%s': %s. Make sure you are linking against Openssl >= 1.0.2.\n", + memprintf(err, "%sunable to load chain certificate into SSL Context '%s': %s.\n", err && *err ? *err : "", path, ERR_reason_error_string(ret)); errcode |= ERR_ALERT | ERR_FATAL; goto end; -- 2.47.3