summaryrefslogtreecommitdiff
path: root/tests/chainverify-unsorted.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-02-24 09:42:26 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-16 15:47:10 +0100
commitb26a40b616a90ab6af9408cabf228bdec2e15b69 (patch)
tree1f096d27af3aebd8f7cc1f5a24ee5853eb3b2559 /tests/chainverify-unsorted.c
parent1d75e116b1681d0e6b140d7530e7f0403088da88 (diff)
downloadgnutls-b26a40b616a90ab6af9408cabf228bdec2e15b69.tar.gz
tests: updated to account SHA1 move to broken set
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/chainverify-unsorted.c')
-rw-r--r--tests/chainverify-unsorted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chainverify-unsorted.c b/tests/chainverify-unsorted.c
index 8dc99bbbd9..f51aff6f23 100644
--- a/tests/chainverify-unsorted.c
+++ b/tests/chainverify-unsorted.c
@@ -603,7 +603,7 @@ void doit(void)
gnutls_x509_crt_t *crts;
unsigned int crts_size, i;
gnutls_x509_trust_list_t tl;
- unsigned int status, flags = GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN;
+ unsigned int status, flags = GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN|GNUTLS_VERIFY_ALLOW_BROKEN;
unsigned int not_flags = GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN;
/* this must be called once in the program