summaryrefslogtreecommitdiff
path: root/lib/gnutls_errors.c
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_errors.c
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_errors.c')
-rw-r--r--lib/gnutls_errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c
index 46e8cc3084..66da4496f4 100644
--- a/lib/gnutls_errors.c
+++ b/lib/gnutls_errors.c
@@ -227,6 +227,7 @@ static gnutls_error_entry error_algorithms[] = {
GNUTLS_E_INVALID_PASSWORD, 1),
ERROR_ENTRY("The Message Authentication Code verification failed.",
GNUTLS_E_MAC_VERIFY_FAILED, 1),
+ ERROR_ENTRY("Some constraint limits were reached.", GNUTLS_E_CONSTRAINT_ERROR, 1),
{NULL, NULL, 0, 0}
};