Home
last modified time | relevance | path

Searched hist:c98ce274 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dcrypto-tls-x509-helpers.cc98ce274 Tue Apr 26 11:00:40 CDT 2022 Daniel P. Berrangé <berrange@redhat.com> 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>
H A Dtest-crypto-tlssession.cc98ce274 Tue Apr 26 11:00:40 CDT 2022 Daniel P. Berrangé <berrange@redhat.com> 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>