William, Am 04.10.20 um 20:13 schrieb William Dauchy: > so we can reuse it later > > Signed-off-by: William Dauchy <[email protected]> > --- > include/haproxy/server.h | 1 + > src/cfgparse-ssl.c | 32 +++----------------------------- > src/server.c | 22 ++++++++++++++++++++++ > 3 files changed, 26 insertions(+), 29 deletions(-) >
Unfortunately this still does not build without USE_OPENSSL=1. I'll give my log output in case you misunderstood me the first time: > $ git am /tmp/\[PATCH\ v2\ 3_4\]\ MINOR:\ ssl:\ create\ common\ ssl_ctx\ > init\ -\ William\ Dauchy\ \<[email protected]\>\ -\ 2020-10-04\ 2013.eml > Applying: MINOR: ssl: create common ssl_ctx init > $ make -j4 all TARGET=linux-glibc > CC src/ev_poll.o > CC src/ev_epoll.o > CC src/namespace.o > CC src/mux_fcgi.o > CC src/mux_h1.o > CC src/mux_h2.o > CC src/backend.o > CC src/cfgparse.o > CC src/cli.o > CC src/cfgparse-listen.o > CC src/stats.o > CC src/http_ana.o > CC src/stream.o > CC src/check.o > CC src/sample.o > CC src/tools.o > CC src/server.o > src/server.c: In function ‘srv_init_sslctx’: > src/server.c:1213:6: error: ‘global_ssl’ undeclared (first use in this > function) > if (global_ssl.connect_default_ciphers && !s->ssl_ctx.ciphers) > ^ > [...] > Makefile:877: recipe for target 'src/server.o' failed > make: *** [src/server.o] Error 1 > make: *** Waiting for unfinished jobs.... Best regards Tim Düsterhus

