summary refs log tree commit diff stats
path: root/hw/misc/max78000_aes.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 /hw/misc/max78000_aes.c
parent2183ab62512c6253293e83cce3970b0b42e65630 (diff)
downloadfocaccia-qemu-6f7f3419cce86553dd239f10a5deb9ab872bd8c2.tar.gz
focaccia-qemu-6f7f3419cce86553dd239f10a5deb9ab872bd8c2.zip
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 'hw/misc/max78000_aes.c')
0 files changed, 0 insertions, 0 deletions