1
.TH "gnutls_certificate_set_verify_limits" 3 "1.2.9" "gnutls" "gnutls"
3
gnutls_certificate_set_verify_limits
5
.B #include <gnutls/gnutls.h>
7
.BI "void gnutls_certificate_set_verify_limits(gnutls_certificate_credentials_t " res ", unsigned int " max_bits ", unsigned int " max_depth ");"
9
.IP "gnutls_certificate_credentials_t res" 12
10
is a gnutls_certificate_credentials structure
11
.IP "unsigned int max_bits" 12
12
is the number of bits of an acceptable certificate (default 8200)
13
.IP "unsigned int max_depth" 12
14
is maximum depth of the verification of a certificate chain (default 5)
16
This function will set some upper limits for the default verification function,
18
.B "gnutls_certificate_verify_peers2()"
19
, to avoid denial of service attacks.
21
Report bugs to <bug-gnutls@gnu.org>.
23
Copyright \(co 2004 Free Software Foundation.
25
Permission is granted to make and distribute verbatim copies of this
26
manual provided the copyright notice and this permission notice are
27
preserved on all copies.
29
The full documentation for
31
is maintained as a Texinfo manual. If the
35
programs are properly installed at your site, the command
39
should give you access to the complete manual.