mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-04 14:25:57 -04:00
BUG/MEDIUM: server: Wrong server default CRT filenames initialization.
This patch fixes a bug which came with 5e57643 commit where server
default CRT filenames were initialized to the same value as server
default CRL filenames.
This commit is contained in:
parent
351b3a1780
commit
acd4827eca
1 changed files with 1 additions and 1 deletions
|
|
@ -1832,7 +1832,7 @@ int parse_server(const char *file, int linenum, char **args, struct proxy *curpr
|
|||
if (curproxy->defsrv.ssl_ctx.crl_file != NULL)
|
||||
newsrv->ssl_ctx.crl_file = strdup(curproxy->defsrv.ssl_ctx.crl_file);
|
||||
if (curproxy->defsrv.ssl_ctx.client_crt != NULL)
|
||||
newsrv->ssl_ctx.client_crt = strdup(curproxy->defsrv.ssl_ctx.crl_file);
|
||||
newsrv->ssl_ctx.client_crt = strdup(curproxy->defsrv.ssl_ctx.client_crt);
|
||||
newsrv->ssl_ctx.verify = curproxy->defsrv.ssl_ctx.verify;
|
||||
if (curproxy->defsrv.ssl_ctx.verify_host != NULL)
|
||||
newsrv->ssl_ctx.verify_host = strdup(curproxy->defsrv.ssl_ctx.verify_host);
|
||||
|
|
|
|||
Loading…
Reference in a new issue