MINOR: ssl: Add a cafile_entry type field
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 16 Apr 2021 15:59:23 +0000 (17:59 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 17 May 2021 08:50:24 +0000 (10:50 +0200)
commit0bb482436c9cfe21b2e2af10177c4c323e735808
treef158a3693397f5d8a84351686cd4beb66b22ebac
parentd5fd09d339dd3e86130428de142b5fc1808596ee
MINOR: ssl: Add a cafile_entry type field

The CA files and CRL files are stored in the same cafile_tree so this
patch adds a new field the the cafile_entry structure that specifies the
type of the entry. Since a ca-file can also have some CRL sections, the
type will be based on the option used to load the file and not on its
content (ca-file vs crl-file options).
include/haproxy/ssl_ckch-t.h
include/haproxy/ssl_ckch.h
src/cfgparse-ssl.c
src/ssl_ckch.c