summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-08-03 23:40:23 +0200
committerSimon Josefsson <simon@josefsson.org>2009-08-07 01:22:23 +0200
commit9f50f84fcef94e81fc54901dce99b438edaa48dc (patch)
treeff807764bee1030661546e67b9230ce22b432ea0 /tests
parent8c3d44fa6d411d4d5d09df64f98422174ca00384 (diff)
downloadgnutls-9f50f84fcef94e81fc54901dce99b438edaa48dc.tar.gz
Fix expected output, a cert have expired.
Diffstat (limited to 'tests')
-rw-r--r--tests/chainverify.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/chainverify.c b/tests/chainverify.c
index cd3598e8fd..745cd7cd88 100644
--- a/tests/chainverify.c
+++ b/tests/chainverify.c
@@ -690,8 +690,12 @@ static struct
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},
+ { "hbci v1 ok expired", hbci_chain, &hbci_chain[2],
+ GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT,
+ GNUTLS_CERT_EXPIRED | GNUTLS_CERT_INVALID },
{ "hbci v1 ok", hbci_chain, &hbci_chain[2],
- GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, 0 },
+ GNUTLS_VERIFY_DISABLE_TIME_CHECKS | GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT,
+ 0 },
{ "rsa-md5 fail", mayfirst_chain, &mayfirst_chain[1],
0, GNUTLS_CERT_INSECURE_ALGORITHM | GNUTLS_CERT_INVALID },
{ "rsa-md5 not ok", mayfirst_chain, &mayfirst_chain[1],