diff options
Diffstat (limited to 'lib/state.c')
-rw-r--r-- | lib/state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/state.c b/lib/state.c index 5364d5e727..7e6354f9fe 100644 --- a/lib/state.c +++ b/lib/state.c @@ -518,6 +518,9 @@ int gnutls_init(gnutls_session_t * session, unsigned int flags) if ((*session)->security_parameters.entity == GNUTLS_SERVER) { (*session)->security_parameters.max_early_data_size = DEFAULT_MAX_EARLY_DATA_SIZE; + } else { + (*session)->security_parameters.max_early_data_size = + UINT32_MAX; } /* everything else not initialized here is initialized |