MINOR: ssl: Server ssl context prepare function refactoring
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Mon, 25 Jan 2021 16:19:41 +0000 (17:19 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 26 Jan 2021 14:19:36 +0000 (15:19 +0100)
commit442b7f2238827ce2073ae907e6aed8df1ff26fcb
tree938af0ad93bd69f75b6b7cf47105e753d1521802
parent7f68d815af356fbe1b2e1080a88b9935581c91d2
MINOR: ssl: Server ssl context prepare function refactoring

Split the server's ssl context initialization into the general ssl
related initializations and the actual initialization of a single
SSL_CTX structure. This way the context's initialization will be
usable by itself from elsewhere.
include/haproxy/ssl_sock.h
src/ssl_sock.c