BUG/MINOR: ssl: Remove dead code in cli_parse_update_ocsp_response
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 21 Mar 2023 09:26:20 +0000 (10:26 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 31 Mar 2023 07:08:28 +0000 (09:08 +0200)
commitae5187721f93ab03049dba2442e119a44ce760f2
treea832fdbe70cb9554882cac47d124285b57f1fc4b
parent7e64d8720e423c7cd7e97217e8269ab89d30ce45
BUG/MINOR: ssl: Remove dead code in cli_parse_update_ocsp_response

This patch removes dead code from the cli_parse_update_ocsp_response
function. The 'end' label in only used in case of error so the check of
the 'errcode' variable and the errcode variable itself become useless.

This patch does not need to be backported.
It fixes GitHub issue #2077.
src/ssl_ocsp.c