mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 0 additions and 5 deletions
|
|
@ -3499,11 +3499,6 @@ int ckch_inst_new_load_srv_store(const char *path, struct ckch_store *ckchs,
|
|||
return errcode;
|
||||
|
||||
error:
|
||||
/* free the allocated sni_ctxs */
|
||||
if (ckch_inst) {
|
||||
ckch_inst_free(ckch_inst);
|
||||
ckch_inst = NULL;
|
||||
}
|
||||
SSL_CTX_free(ctx);
|
||||
|
||||
return errcode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue