tls: enable cert key pair setting for connect
Type: improvement Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com> Change-Id: Ie0e6d48d65b0b8b493e9d49cfdf93c645523659a
This commit is contained in:

committed by
Florin Coras

parent
18ddf624b4
commit
8aa1856215
@ -573,6 +573,7 @@ tls_connect (transport_endpoint_cfg_t * tep)
|
|||||||
ctx->parent_app_wrk_index = sep->app_wrk_index;
|
ctx->parent_app_wrk_index = sep->app_wrk_index;
|
||||||
ctx->parent_app_api_context = sep->opaque;
|
ctx->parent_app_api_context = sep->opaque;
|
||||||
ctx->tcp_is_ip4 = sep->is_ip4;
|
ctx->tcp_is_ip4 = sep->is_ip4;
|
||||||
|
ctx->ckpair_index = sep->ckpair_index;
|
||||||
if (sep->hostname)
|
if (sep->hostname)
|
||||||
{
|
{
|
||||||
ctx->srv_hostname = format (0, "%v", sep->hostname);
|
ctx->srv_hostname = format (0, "%v", sep->hostname);
|
||||||
|
Reference in New Issue
Block a user