aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tls/tls_inlines.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-10-17 11:59:49 -0700
committerDave Barach <vpp@barachs.net>2024-09-26 20:44:34 +0000
commitd0e8bd75f6371d09f31f48ffaf5843dce86ca8e6 (patch)
tree60afbb7769d3c4abce413d5055387ef031c975d5 /src/vnet/tls/tls_inlines.h
parent2193fd06492ee0f9a8c9b89fe665ecbc4d50cefe (diff)
tls: cleanup engine hs cb and improve ctx formatting
Handshake completion is now tracked via a ctx flag so we no longer need ctx_handshake_is_over. Also, as we no longer prealloc application sessions, improve ctx state formatting. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If48588ecde13e56fb99d1a46238bda53ed4eae1b
Diffstat (limited to 'src/vnet/tls/tls_inlines.h')
-rw-r--r--src/vnet/tls/tls_inlines.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vnet/tls/tls_inlines.h b/src/vnet/tls/tls_inlines.h
index 18002730a30..3e3f59fcf51 100644
--- a/src/vnet/tls/tls_inlines.h
+++ b/src/vnet/tls/tls_inlines.h
@@ -114,12 +114,6 @@ tls_ctx_app_close (tls_ctx_t *ctx)
return tls_vfts[ctx->tls_ctx_engine].ctx_app_close (ctx);
}
-static inline u8
-tls_ctx_handshake_is_over (tls_ctx_t *ctx)
-{
- return tls_vfts[ctx->tls_ctx_engine].ctx_handshake_is_over (ctx);
-}
-
static inline int
tls_reinit_ca_chain (crypto_engine_type_t tls_engine_id)
{