aboutsummaryrefslogtreecommitdiff
path: root/linux-user/plugin-api.c
diff options
context:
space:
mode:
authorHenry Kleynhans <hkleynhans@fb.com>2021-12-22 15:05:59 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2025-07-21 11:30:07 +0100
commit6f7f3419cce86553dd239f10a5deb9ab872bd8c2 (patch)
treedab61c61fa8d1d83cde98f95b7171a979dcbca2b /linux-user/plugin-api.c
parent2183ab62512c6253293e83cce3970b0b42e65630 (diff)
downloadqemu-6f7f3419cce86553dd239f10a5deb9ab872bd8c2.zip
qemu-6f7f3419cce86553dd239f10a5deb9ab872bd8c2.tar.gz
qemu-6f7f3419cce86553dd239f10a5deb9ab872bd8c2.tar.bz2
crypto: load all certificates in X509 CA file
Some CA files may contain multiple intermediaries and roots of trust. These may not fit into the hard-coded limit of 16. Extend the validation code to allocate enough space to load all of the certificates present in the CA file and ensure they are cleaned up. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Henry Kleynhans <hkleynhans@fb.com> [DB: drop MAX_CERTS constant & whitespace tweaks] Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'linux-user/plugin-api.c')
0 files changed, 0 insertions, 0 deletions