]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-nbd: Use qcrypto_tls_creds_check_endpoint()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 28 Jun 2021 16:09:10 +0000 (18:09 +0200)
committerMichael Roth <michael.roth@amd.com>
Thu, 14 Oct 2021 21:27:19 +0000 (16:27 -0500)
commit8d5c255a2569b01c56b32783da93b1c2f15c7deb
treebd8281d02447bdc50205c1ff3705872cbdef8e65
parent738ff4bf07304399d3d830afd4b5e3296fbb3cce
qemu-nbd: Use qcrypto_tls_creds_check_endpoint()

Avoid accessing QCryptoTLSCreds internals by using
the qcrypto_tls_creds_check_endpoint() helper.

Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit 0279cd9535283cf5711768ab6401b204e5697a81)
Signed-off-by: Michael Roth <michael.roth@amd.com>
qemu-nbd.c