summaryrefslogtreecommitdiff
path: root/lib/gnutls_cert.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-02 13:11:46 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-02 13:17:49 +0100
commit9ea5adce307f8bdfeff096e924f25957a5e1c63f (patch)
tree388a27a0e832263f476775669a16a488291b4400 /lib/gnutls_cert.c
parent5b4bd9afeac9eaf9b2caa235196517bf0720ec5d (diff)
downloadgnutls-9ea5adce307f8bdfeff096e924f25957a5e1c63f.tar.gz
Added verification flag GNUTLS_VERIFY_DO_NOT_ALLOW_UNSORTED_CHAIN
The default is now GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN, and removed gnutls_certificate_update_verify_flags().
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r--lib/gnutls_cert.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c
index 21a3a5d860..8c2d27d427 100644
--- a/lib/gnutls_cert.c
+++ b/lib/gnutls_cert.c
@@ -234,7 +234,6 @@ int ret;
}
(*res)->verify_bits = DEFAULT_MAX_VERIFY_BITS;
(*res)->verify_depth = DEFAULT_MAX_VERIFY_DEPTH;
- (*res)->verify_flags = GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN;
return 0;
}