summaryrefslogtreecommitdiffstats
path: root/src/vnet/tls/tls.c
diff options
context:
space:
mode:
authorSaravanan Murugesan <sarmurug@cisco.com>2022-02-28 19:54:11 +0530
committerFlorin Coras <florin.coras@gmail.com>2022-03-30 21:20:32 +0000
commitd918cc54eb5f178ccf81dc2463d176cffcd63df1 (patch)
treef9f45c4502a30aa5e831dd3cacbba691dc3309e2 /src/vnet/tls/tls.c
parent80af13d7405c5d9b2510244aa1318bdef6c41fcf (diff)
tls: support to reinitialise ca_chain wo restart
Type: improvement Signed-off-by: Saravanan Murugesan <sarmurug@cisco.com> Change-Id: I90e90678ae6586019cc842f9d504d53991cfabe4
Diffstat (limited to 'src/vnet/tls/tls.c')
-rw-r--r--src/vnet/tls/tls.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index becd29f20e0..14495b2c77e 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -398,6 +398,12 @@ tls_ctx_handshake_is_over (tls_ctx_t * ctx)
return tls_vfts[ctx->tls_ctx_engine].ctx_handshake_is_over (ctx);
}
+int
+tls_reinit_ca_chain (crypto_engine_type_t tls_engine_id)
+{
+ return tls_vfts[tls_engine_id].ctx_reinit_cachain ();
+}
+
void
tls_notify_app_io_error (tls_ctx_t *ctx)
{