REORG: ssl: move sample fetches to src/ssl_sample.c

Move all SSL sample fetches to src/ssl_sample.c.
This commit is contained in:
William Lallemand 2020-05-15 00:25:08 +02:00 committed by William Lallemand
parent c0cdaffaa3
commit 15e169447d
4 changed files with 1360 additions and 1323 deletions

View File

@ -542,7 +542,7 @@ OPTIONS_LDFLAGS += $(if $(SSL_LIB),-L$(SSL_LIB)) -lssl -lcrypto
ifneq ($(USE_DL),)
OPTIONS_LDFLAGS += -ldl
endif
OPTIONS_OBJS += src/ssl_sock.o src/ssl_crtlist.o src/ssl_ckch.o src/cfgparse-ssl.o
OPTIONS_OBJS += src/ssl_sample.o src/ssl_sock.o src/ssl_crtlist.o src/ssl_ckch.o src/cfgparse-ssl.o
endif
# The private cache option affect the way the shctx is built

View File

@ -46,6 +46,7 @@ extern struct pool_head *pool_head_ssl_capture;
extern unsigned int openssl_engines_initialized;
extern int nb_engines;
extern struct xprt_ops ssl_sock;
extern int ssl_capture_ptr_index;
/* boolean, returns true if connection is over SSL */
static inline

1357
src/ssl_sample.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff