MINOR: ssl: render file-access optional on server crt loading
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 21 May 2021 14:22:11 +0000 (16:22 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 18 Jun 2021 14:42:25 +0000 (16:42 +0200)
commit36aa451a4e15c1601b4ef87a45cd0e49bf364beb
tree2d46cb201decef22087f76c143fdc1de90a14555
parentb89d3d3de7524b26acde4bd9b780f659e96c433f
MINOR: ssl: render file-access optional on server crt loading

The function ssl_sock_load_srv_cert will be used at runtime for dynamic
servers. If the cert is not loaded on ckch tree, we try to access it
from the file-system.

Now this access operation is rendered optional by a new function
argument. It is only allowed at parsing time, but will be disabled for
dynamic servers at runtime.
include/haproxy/ssl_sock.h
src/cfgparse-ssl.c
src/ssl_sock.c