diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-02 13:11:46 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-02 13:17:49 +0100 |
commit | 9ea5adce307f8bdfeff096e924f25957a5e1c63f (patch) | |
tree | 388a27a0e832263f476775669a16a488291b4400 /lib/gnutls_ui.c | |
parent | 5b4bd9afeac9eaf9b2caa235196517bf0720ec5d (diff) | |
download | gnutls-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_ui.c')
-rw-r--r-- | lib/gnutls_ui.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index 71888d405c..110ebae818 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -697,25 +697,6 @@ gnutls_certificate_set_verify_flags (gnutls_certificate_credentials_t } /** - * gnutls_certificate_update_verify_flags: - * @res: is a gnutls_certificate_credentials_t structure - * @flags: are the new flags - * - * This function will update the default flags to be used for verification - * of certificates. The provided flags must be an OR of the - * #gnutls_certificate_verify_flags enumerations. The default - * for TLS sessions is GNUTLS_VERIFY_ALLOW_UNSORTED_CHAIN. - * - * Since: 3.1.4 - **/ -void -gnutls_certificate_update_verify_flags (gnutls_certificate_credentials_t - res, unsigned int flags) -{ - res->verify_flags |= flags; -} - -/** * gnutls_certificate_set_verify_limits: * @res: is a gnutls_certificate_credentials structure * @max_bits: is the number of bits of an acceptable certificate (default 8200) |