diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-02-14 07:36:19 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-02-14 07:47:40 +0100 |
commit | cf68b1009c891c88231cfbcd249769f8dd22641c (patch) | |
tree | e9c55eab75b4a17e959af2bc6f5c54e26b275204 /tests/chainverify.c | |
parent | 6735ba45663d0800b0520cbea25d9612018b042e (diff) | |
download | gnutls-cf68b1009c891c88231cfbcd249769f8dd22641c.tar.gz |
removed deprecated flag
Diffstat (limited to 'tests/chainverify.c')
-rw-r--r-- | tests/chainverify.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/chainverify.c b/tests/chainverify.c index 132eecf8e5..669fce2832 100644 --- a/tests/chainverify.c +++ b/tests/chainverify.c @@ -878,7 +878,7 @@ static struct 0, GNUTLS_CERT_EXPIRED | GNUTLS_CERT_INVALID }, { "verisign.com v1 ok", verisign_com_chain, &verisign_com_chain[3], - GNUTLS_VERIFY_DISABLE_TIME_CHECKS | GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, + GNUTLS_VERIFY_DISABLE_TIME_CHECKS, 0 }, { "citibank.com v1 fail", citibank_com_chain, &citibank_com_chain[2], GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT, GNUTLS_CERT_SIGNER_NOT_CA | GNUTLS_CERT_INVALID }, @@ -887,17 +887,17 @@ static struct { "self signed", pem_self_cert, &pem_self_cert[0], GNUTLS_VERIFY_DISABLE_TIME_CHECKS, 0 }, { "ca=false", thea_chain, &thea_chain[1], - GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, + 0, 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], GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT, GNUTLS_CERT_SIGNER_NOT_CA | GNUTLS_CERT_INVALID}, { "hbci v1 ok expired", hbci_chain, &hbci_chain[2], - GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, + 0, GNUTLS_CERT_EXPIRED | GNUTLS_CERT_INVALID }, { "hbci v1 ok", hbci_chain, &hbci_chain[2], - GNUTLS_VERIFY_DISABLE_TIME_CHECKS | GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, + GNUTLS_VERIFY_DISABLE_TIME_CHECKS, 0 }, { "rsa-md5 fail", mayfirst_chain, &mayfirst_chain[1], 0, GNUTLS_CERT_INSECURE_ALGORITHM | GNUTLS_CERT_EXPIRED | GNUTLS_CERT_INVALID }, @@ -928,10 +928,10 @@ static struct GNUTLS_VERIFY_DISABLE_TIME_CHECKS, 0 }, { "v1ca expired", v1ca, &v1ca[2], - GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, + 0, GNUTLS_CERT_EXPIRED | GNUTLS_CERT_INVALID }, { "v1ca ok", v1ca, &v1ca[2], - GNUTLS_VERIFY_DISABLE_TIME_CHECKS | GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT, + GNUTLS_VERIFY_DISABLE_TIME_CHECKS, 0 }, { "v1ca2 expired", v1ca, &v1ca[2], GNUTLS_VERIFY_ALLOW_ANY_X509_V1_CA_CRT, |