summaryrefslogtreecommitdiff
path: root/lib/gnutls_x509.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-07-31 07:58:08 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-07-31 07:58:08 +0000
commitd2a5764d7767530050bc760fed82200683622979 (patch)
tree84a7d02640fd9f093bcfa1ceb0c65e6637939e9e /lib/gnutls_x509.h
parent0d5a5b3624ba1d63f1a10c40bdcf001cdcebbdad (diff)
downloadgnutls-d2a5764d7767530050bc760fed82200683622979.tar.gz
Added some default limits in the verification of certificate
chains, to avoid denial of service attacks. Also added gnutls_certificate_set_verify_limits() to override them.
Diffstat (limited to 'lib/gnutls_x509.h')
-rw-r--r--lib/gnutls_x509.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_x509.h b/lib/gnutls_x509.h
index d815b749da..2effb5d027 100644
--- a/lib/gnutls_x509.h
+++ b/lib/gnutls_x509.h
@@ -1,6 +1,6 @@
#include <libtasn1.h>
-int _gnutls_x509_cert_verify_peers(gnutls_session_t session);
+int _gnutls_x509_cert_verify_peers(gnutls_session_t session, unsigned int* status);
#define PEM_CERT_SEP2 "-----BEGIN X509 CERTIFICATE"
#define PEM_CERT_SEP "-----BEGIN CERTIFICATE"