summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorjxm <jiangxiaoming@outlook.com>2021-06-17 04:44:40 +0000
committerFlorin Coras <florin.coras@gmail.com>2021-06-17 14:17:57 +0000
commit975fde82b11307180b3df7dc9b5b1b496f207a08 (patch)
treecc478c16a85cfc383766c70db0de54e134766c29 /src/vnet
parent55d46df4be5945a5294f6909d151936648895db7 (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
Diffstat (limited to 'src/vnet')
-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 21060288db0..0787c22f763 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);