From 785d5ef3f0f3c63766579b5886699c0566989852 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 15 Apr 2024 09:04:37 +0200 Subject: [PATCH] CLEANUP: ssl: remove dead code in cfg_parse_crtstore() Remove dead code reported in #2531. --- src/ssl_ckch.c | 6 ------ 1 file changed, 6 deletions(-) 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);