diff options
author | Florin Coras <fcoras@cisco.com> | 2018-03-05 16:53:07 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-03-07 13:27:59 +0000 |
commit | 8f89dd01289ea9e97405432d2351a19c842dd6d5 (patch) | |
tree | 67ab5d20f9ebbd34ee8d9fec2dfc3d97297fd0f7 /src/vnet/session/application_interface.h | |
parent | 7139e757b13212f3fd8e3f3f401018375fed0c61 (diff) |
tls: enforce certificate verification
- add option to use test certificate in the ca chain
- add hostname to extended session endpoint fields and connect api
parameters. If hostname is present, certificate validation is
enforced.
- use /etc/ssl/certs/ca-certificates.crt to bootstrap CA cert. A
different path can be provided via startup config
Change-Id: I046f9c6ff3ae6a9c2d71220cb62eca8f7b10e5fb
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application_interface.h')
-rw-r--r-- | src/vnet/session/application_interface.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/session/application_interface.h b/src/vnet/session/application_interface.h index 2ab09d6f52d..deddb648630 100644 --- a/src/vnet/session/application_interface.h +++ b/src/vnet/session/application_interface.h @@ -83,13 +83,11 @@ typedef struct _vnet_connect_args union { char *uri; - session_endpoint_t sep; + session_endpoint_extended_t sep; }; u32 app_index; u32 api_context; - /* Used for redirects */ - void *mp; session_handle_t session_handle; } vnet_connect_args_t; |