summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-12-10 17:10:47 +0100
committerSimon Josefsson <simon@josefsson.org>2008-12-10 17:10:47 +0100
commite0e0a20c400a23aea1d87611f3c4913c97855dd7 (patch)
tree75e5ab4a3b83fb461ec7bda4e8eeae467836e7b6 /tests
parent6db3d594f3ec8ce1ef53fbc77992ab1c527700e3 (diff)
downloadgnutls-e0e0a20c400a23aea1d87611f3c4913c97855dd7.tar.gz
Check ca=false with flags too.
Diffstat (limited to 'tests')
-rw-r--r--tests/chainverify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/chainverify.c b/tests/chainverify.c
index 1234ea9ade..a630da0fb0 100644
--- a/tests/chainverify.c
+++ b/tests/chainverify.c
@@ -442,6 +442,9 @@ static struct
{ "self signed", pem_self_cert, &pem_self_cert[0],
0, 0 },
{ "ca=false", thea_chain, &thea_chain[1],
+ GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT,
+ GNUTLS_CERT_SIGNER_NOT_CA | GNUTLS_CERT_INVALID },
+ { "ca=false2", thea_chain, &thea_chain[1],
0, GNUTLS_CERT_SIGNER_NOT_CA | GNUTLS_CERT_INVALID },
{ "hbci v1 fail", hbci_chain, &hbci_chain[2],
0, GNUTLS_CERT_SIGNER_NOT_CA | GNUTLS_CERT_INVALID},