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

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

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
(cherry picked from commit 7b3b616838c30830c004b746e7b1209297118318)
Signed-off-by: Michael Roth <michael.roth@amd.com>
block/nbd.c
blockdev-nbd.c