aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjxm <jiangxiaoming@outlook.com>2021-06-17 04:44:40 +0000
committerDave Wallace <dwallacelf@gmail.com>2021-06-17 17:41:39 +0000
commitd1fd73a93d32a306e1d24eb968fcc1a28f937dcc (patch)
treef50803b07d5606296b335a0a024cb61484409483
parenta95292ffdbfaf4288f3510d53bebf06ba1a8842a (diff)
tls: increase engine bits room in handle to support custom engine type
Type: improvement Signed-off-by: jxm <jiangxiaoming@outlook.com> Change-Id: I80a51e841f9727b68d1de713b6b6d51675ef53c5 (cherry picked from commit 975fde82b11307180b3df7dc9b5b1b496f207a08)
-rw-r--r--src/vnet/tls/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index 1ab885e3db5..35835128a50 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -22,7 +22,7 @@ static tls_engine_vft_t *tls_vfts;
#define TLS_INVALID_HANDLE ~0
#define TLS_IDX_MASK 0x00FFFFFF
-#define TLS_ENGINE_TYPE_SHIFT 29
+#define TLS_ENGINE_TYPE_SHIFT 28
void tls_disconnect (u32 ctx_handle, u32 thread_index);