mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-07 09:42:34 +00:00
MINOR: ssl: export ckch_inst_rebuild()
ckch_inst_rebuild() will be needed to regenerate the ckch instances from the lua code, we need to export it.
This commit is contained in:
parent
ff8bf988b9
commit
e60c7d6e59
@ -51,6 +51,8 @@ int ckch_inst_new_load_store(const char *path, struct ckch_store *ckchs, struct
|
|||||||
struct ssl_bind_conf *ssl_conf, char **sni_filter, int fcount, struct ckch_inst **ckchi, char **err);
|
struct ssl_bind_conf *ssl_conf, char **sni_filter, int fcount, struct ckch_inst **ckchi, char **err);
|
||||||
int ckch_inst_new_load_srv_store(const char *path, struct ckch_store *ckchs,
|
int ckch_inst_new_load_srv_store(const char *path, struct ckch_store *ckchs,
|
||||||
struct ckch_inst **ckchi, char **err);
|
struct ckch_inst **ckchi, char **err);
|
||||||
|
int ckch_inst_rebuild(struct ckch_store *ckch_store, struct ckch_inst *ckchi,
|
||||||
|
struct ckch_inst **new_inst, char **err);
|
||||||
|
|
||||||
void ckch_deinit();
|
void ckch_deinit();
|
||||||
void ckch_inst_add_cafile_link(struct ckch_inst *ckch_inst, struct bind_conf *bind_conf,
|
void ckch_inst_add_cafile_link(struct ckch_inst *ckch_inst, struct bind_conf *bind_conf,
|
||||||
|
@ -1713,7 +1713,7 @@ static void cli_release_commit_cert(struct appctx *appctx)
|
|||||||
* specific ckch_store.
|
* specific ckch_store.
|
||||||
* Returns 0 in case of success, 1 otherwise.
|
* Returns 0 in case of success, 1 otherwise.
|
||||||
*/
|
*/
|
||||||
static int ckch_inst_rebuild(struct ckch_store *ckch_store, struct ckch_inst *ckchi,
|
int ckch_inst_rebuild(struct ckch_store *ckch_store, struct ckch_inst *ckchi,
|
||||||
struct ckch_inst **new_inst, char **err)
|
struct ckch_inst **new_inst, char **err)
|
||||||
{
|
{
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user