summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-18 10:25:10 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2017-08-11 08:35:05 +0200
commit79578b322fcf5db805b0738e6e5a2878ec6efea6 (patch)
tree43b10452fc16b43e21fc84f87b61b14aa1156af3
parent93b92e2c860e656cd2c279197ed8c0d354876b2b (diff)
downloadgnutls-79578b322fcf5db805b0738e6e5a2878ec6efea6.tar.gz
gnutls_int.h: reduced the maximum number of epoch states we keep
There was no need to keep 16 epochs, as we typically we have only one or two active. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/gnutls_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h
index de4ddbad04..aab1fe1e5f 100644
--- a/lib/gnutls_int.h
+++ b/lib/gnutls_int.h
@@ -1125,7 +1125,7 @@ typedef struct {
} internals_st;
/* Maximum number of epochs we keep around. */
-#define MAX_EPOCH_INDEX 16
+#define MAX_EPOCH_INDEX 4
struct gnutls_session_int {
security_parameters_st security_parameters;