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://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=785d5ef3f0f3c63766579b5886699c0566989852;p=thirdparty%2Fhaproxy.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 0ac5b5ecc9..88185cb210 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);