summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-18 10:25:10 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-10 17:13:46 +0200
commit8b596ba70d5050e36ef4a3c52a092d6d7977b4b3 (patch)
tree13138c50654730230b7465180121c708cad7ccdd
parent8264f91c6ef47c6355ed0580ab18429b5d230322 (diff)
downloadgnutls-8b596ba70d5050e36ef4a3c52a092d6d7977b4b3.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;