mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 17:17:06 +02:00
CLEANUP: ssl: remove dead code in ckch_inst_new_load_srv_store()
The new ckch_inst_new_load_srv_store() function which mimics the ckch_inst_new_load_store() function includes some dead code which was used only in the former function. Fix issue #1081.
This commit is contained in:
parent
3888b8cd7b
commit
b8868498ed
@ -3499,11 +3499,6 @@ int ckch_inst_new_load_srv_store(const char *path, struct ckch_store *ckchs,
|
|||||||
return errcode;
|
return errcode;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
/* free the allocated sni_ctxs */
|
|
||||||
if (ckch_inst) {
|
|
||||||
ckch_inst_free(ckch_inst);
|
|
||||||
ckch_inst = NULL;
|
|
||||||
}
|
|
||||||
SSL_CTX_free(ctx);
|
SSL_CTX_free(ctx);
|
||||||
|
|
||||||
return errcode;
|
return errcode;
|
||||||
|
Loading…
Reference in New Issue
Block a user