]> git.feebdaed.xyz Git - 0xmirror/libvirt.git/commit
rpc: refactor TLS sanity checking to support many cert files
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 3 Nov 2025 16:44:42 +0000 (16:44 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 24 Nov 2025 15:05:09 +0000 (15:05 +0000)
commit74a664edd7c04a50f1b32d322584dbbfacfe5e02
tree28c4550226bff23ed4ecb64a6559ad5b4abf7cc1
parent9aff986bc495ddaec693d7ce452ab78033a60d21
rpc: refactor TLS sanity checking to support many cert files

Future patches will make it possible to load multiple certificate
files. This prepares the sanity checking code to support that by
taking a NUL terminated array of cert filenames.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/rpc/virnettlscert.c
src/rpc/virnettlscert.h
src/rpc/virnettlscontext.c
tools/virt-pki-validate.c