From: William Lallemand Date: Mon, 15 Apr 2024 07:04:37 +0000 (+0200) Subject: CLEANUP: ssl: remove dead code in cfg_parse_crtstore() X-Git-Tag: v3.0-dev8~52 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=785d5ef3f0f3c63766579b5886699c0566989852;p=haproxy.git CLEANUP: ssl: remove dead code in cfg_parse_crtstore() Remove dead code reported in #2531. --- diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c index 0ac5b5ecc..88185cb21 100644 --- a/src/ssl_ckch.c +++ b/src/ssl_ckch.c @@ -4207,12 +4207,6 @@ out: err_code |= ERR_ABORT; free(errmsg); return err_code; - -alloc_error: - ha_alert("parsing [%s:%d]: out of memory.\n", file, linenum); - err_code |= ERR_ALERT | ERR_ABORT; - goto out; - } REGISTER_CONFIG_SECTION("crt-store", cfg_parse_crtstore, NULL);