]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: ssl: remove OpenSSL 1.0.2 mention into certificate loading error
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 17 Apr 2023 12:32:25 +0000 (14:32 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 17 Apr 2023 12:45:40 +0000 (14:45 +0200)
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

index 740fc0aebe00442f29918f4ae42b78457f33cca8..cb544d4e4ce9b18f0c2ed5354a6df40f8b658e2e 100644 (file)
@@ -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;