migration/tls: extract migration_tls_client_create for common-use
commitbfb790e7b2bbbc19686cf6bc3b03742b8361ac82
authorChuan Zheng <zhengchuan@huawei.com>
Tue, 15 Sep 2020 03:03:58 +0000 (15 11:03 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 25 Sep 2020 11:45:58 +0000 (25 12:45 +0100)
tree26445fbd26e8693e8049abba041009e0071cab9d
parentd8053e73fb2d295279b5cc4de7dc06bd581241ca
migration/tls: extract migration_tls_client_create for common-use

migration_tls_client_create will be used in multifd-tls, let's
extract it.

Signed-off-by: Chuan Zheng <zhengchuan@huawei.com>
Signed-off-by: Yan Jin <jinyan12@huawei.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <1600139042-104593-3-git-send-email-zhengchuan@huawei.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/tls.c
migration/tls.h