summaryrefslogtreecommitdiffstats
path: root/src/vnet/tls/tls.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-02-18 20:14:20 -0800
committerFlorin Coras <fcoras@cisco.com>2019-02-18 20:43:29 -0800
commitdf57ea0a3e20ee45b72dcd01839979e5952f331d (patch)
tree64aa9a02184a7fe54ec6deeb4f37b3d5479707a2 /src/vnet/tls/tls.h
parenta27a46eaebee7b1d84a6ce998d9c92048b0654b6 (diff)
tls: fix openssl/mbedtls use of app_wrk index
Change-Id: I7ccc948357d815a1bd4279a7079cf4db2949183c Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tls/tls.h')
-rw-r--r--src/vnet/tls/tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/tls/tls.h b/src/vnet/tls/tls.h
index ac0b39b8295..8d1fff3537f 100644
--- a/src/vnet/tls/tls.h
+++ b/src/vnet/tls/tls.h
@@ -39,7 +39,7 @@
/* *INDENT-OFF* */
typedef CLIB_PACKED (struct tls_cxt_id_
{
- u32 parent_app_index;
+ u32 parent_app_wrk_index;
union {
session_handle_t app_session_handle;
u32 parent_app_api_ctx;
@@ -61,7 +61,7 @@ typedef struct tls_ctx_
transport_connection_t connection;
tls_ctx_id_t c_tls_ctx_id;
};
-#define parent_app_index c_tls_ctx_id.parent_app_index
+#define parent_app_wrk_index c_tls_ctx_id.parent_app_wrk_index
#define app_session_handle c_tls_ctx_id.app_session_handle
#define tls_session_handle c_tls_ctx_id.tls_session_handle
#define listener_ctx_index c_tls_ctx_id.listener_ctx_index