diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-08-03 23:40:23 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-08-07 01:22:23 +0200 |
commit | 9f50f84fcef94e81fc54901dce99b438edaa48dc (patch) | |
tree | ff807764bee1030661546e67b9230ce22b432ea0 /tests | |
parent | 8c3d44fa6d411d4d5d09df64f98422174ca00384 (diff) | |
download | gnutls-9f50f84fcef94e81fc54901dce99b438edaa48dc.tar.gz |
Fix expected output, a cert have expired.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/chainverify.c | 6 |
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], |