diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-04-26 17:00:40 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-05-16 11:46:04 +0100 |
commit | c98ce274dbd6373589ae01b652d88f93633db830 (patch) | |
tree | f46de710134314f862f447333e94bf9fe39861cc /hw/intc | |
parent | 10c2a0c5e7d48e590d945c017b5b8af5b4c89a3c (diff) | |
download | qemu-c98ce274dbd6373589ae01b652d88f93633db830.zip qemu-c98ce274dbd6373589ae01b652d88f93633db830.tar.gz qemu-c98ce274dbd6373589ae01b652d88f93633db830.tar.bz2 |
tests: fix encoding of IP addresses in x509 certs
We need to encode just the address bytes, not the whole struct sockaddr
data. Add a test case to validate that we're matching on SAN IP
addresses correctly.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220426160048.812266-2-berrange@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions