mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
REORG: ssl: move the CLI 'cert' functions to src/ssl_ckch.c
Move the 'ssl cert' CLI functions to src/ssl_ckch.c.
This commit is contained in:
parent
c756bbd3df
commit
da8584c1ea
@ -53,7 +53,9 @@ void ckch_store_free(struct ckch_store *store);
|
|||||||
/* ckch_inst functions */
|
/* ckch_inst functions */
|
||||||
void ckch_inst_free(struct ckch_inst *inst);
|
void ckch_inst_free(struct ckch_inst *inst);
|
||||||
struct ckch_inst *ckch_inst_new();
|
struct ckch_inst *ckch_inst_new();
|
||||||
|
int ckch_inst_new_load_multi_store(const char *path, struct ckch_store *ckchs,
|
||||||
|
struct bind_conf *bind_conf, struct ssl_bind_conf *ssl_conf,
|
||||||
|
char **sni_filter, int fcount, struct ckch_inst **ckchi, char **err);
|
||||||
int ckch_inst_new_load_store(const char *path, struct ckch_store *ckchs, struct bind_conf *bind_conf,
|
int ckch_inst_new_load_store(const char *path, struct ckch_store *ckchs, struct bind_conf *bind_conf,
|
||||||
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);
|
||||||
|
|
||||||
|
@ -100,6 +100,10 @@ void ssl_sock_load_cert_sni(struct ckch_inst *ckch_inst, struct bind_conf *bind_
|
|||||||
void ssl_async_fd_handler(int fd);
|
void ssl_async_fd_handler(int fd);
|
||||||
void ssl_async_fd_free(int fd);
|
void ssl_async_fd_free(int fd);
|
||||||
#endif
|
#endif
|
||||||
|
struct issuer_chain* ssl_get0_issuer_chain(X509 *cert);
|
||||||
|
int ssl_sock_get_dn_oneline(X509_NAME *a, struct buffer *out);
|
||||||
|
int ssl_sock_get_serial(X509 *crt, struct buffer *out);
|
||||||
|
int cert_get_pkey_algo(X509 *crt, struct buffer *out);
|
||||||
|
|
||||||
/* ssl shctx macro */
|
/* ssl shctx macro */
|
||||||
|
|
||||||
|
996
src/ssl_ckch.c
996
src/ssl_ckch.c
File diff suppressed because it is too large
Load Diff
999
src/ssl_sock.c
999
src/ssl_sock.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user