[libvirt] [PATCH 2/2] Add a test case for certificate validation

Eric Blake eblake at redhat.com
Fri Jul 22 13:31:45 UTC 2011


On 07/22/2011 05:06 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"<berrange at redhat.com>
>
> This test case checks certification validation rules for
>
>   - Basic constraints
>   - Key purpose
>   - Key usage
>   - Start/expiry times
>
> It checks initial context creation sanity checks, and live
> session validation
> ---
>   tests/.gitignore             |    1 +
>   tests/Makefile.am            |    8 +-
>   tests/pkix_asn1_tab.c        |  567 +++++++++++++++++++
>   tests/virnettlscontexttest.c | 1246 ++++++++++++++++++++++++++++++++++++++++++
>   4 files changed, 1821 insertions(+), 1 deletions(-)
>   create mode 100644 tests/pkix_asn1_tab.c
>   create mode 100644 tests/virnettlscontexttest.c

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list