summaryrefslogtreecommitdiff
path: root/lib/gnutls_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r--lib/gnutls_int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index 11f4f41f30..aa757316ff 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -976,9 +976,9 @@ typedef struct {
/* DTLS session state */
dtls_st dtls;
- /* In case of clients that don't handle GNUTLS_E_LARGE_PACKET, don't
- * force them into an infinite loop */
- unsigned handshake_large_loops;
+ /* Protect from infinite loops due to GNUTLS_E_LARGE_PACKET non-handling
+ * or due to multiple alerts being received. */
+ unsigned handshake_suspicious_loops;
/* should be non-zero when a handshake is in progress */
bool handshake_in_progress;