aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/tls
diff options
context:
space:
mode:
authorjiangxiaoming <jiangxiaoming@outlook.com>2020-10-21 09:54:33 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-10-21 06:31:38 +0000
commit8aa18562152b0d135a72d27e3dd72a831b68d0ce (patch)
tree85fd26a8203e4af68f13a0db0b06b3d521de5622 /src/vnet/tls
parent18ddf624b49256fa065472971ef070a49587fd3c (diff)
tls: enable cert key pair setting for connect
Type: improvement Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com> Change-Id: Ie0e6d48d65b0b8b493e9d49cfdf93c645523659a
Diffstat (limited to 'src/vnet/tls')
-rw-r--r--src/vnet/tls/tls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tls/tls.c b/src/vnet/tls/tls.c
index 516cfd76445..70da9785c48 100644
--- a/src/vnet/tls/tls.c
+++ b/src/vnet/tls/tls.c
@@ -573,6 +573,7 @@ tls_connect (transport_endpoint_cfg_t * tep)
ctx->parent_app_wrk_index = sep->app_wrk_index;
ctx->parent_app_api_context = sep->opaque;
ctx->tcp_is_ip4 = sep->is_ip4;
+ ctx->ckpair_index = sep->ckpair_index;
if (sep->hostname)
{
ctx->srv_hostname = format (0, "%v", sep->hostname);