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.
diff --git a/include/haproxy/ssl_ckch.h b/include/haproxy/ssl_ckch.h
index 3f2dc79..3d14dce 100644
--- a/include/haproxy/ssl_ckch.h
+++ b/include/haproxy/ssl_ckch.h
@@ -51,6 +51,8 @@
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,
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_inst_add_cafile_link(struct ckch_inst *ckch_inst, struct bind_conf *bind_conf,
diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c
index 66604c5..597f3f2 100644
--- a/src/ssl_ckch.c
+++ b/src/ssl_ckch.c
@@ -1713,8 +1713,8 @@
* specific ckch_store.
* Returns 0 in case of success, 1 otherwise.
*/
-static int ckch_inst_rebuild(struct ckch_store *ckch_store, struct ckch_inst *ckchi,
- struct ckch_inst **new_inst, char **err)
+int ckch_inst_rebuild(struct ckch_store *ckch_store, struct ckch_inst *ckchi,
+ struct ckch_inst **new_inst, char **err)
{
int retval = 0;
int errcode = 0;