X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fssl_lib.c;h=49b43543bc76fc5e05669cbaa339aab4bb03262b;hp=2f62f4b0e1bfa24854e54b1b1d5edc7d6e31d6ff;hb=bfa9a9afe82e603339801da73ddbabd02d919888;hpb=70ef40a05e06d055a89c6c8f9309f047e7e834f1 diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 2f62f4b0e1..49b43543bc 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -2772,6 +2772,12 @@ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth) ret->ext.status_type = TLSEXT_STATUSTYPE_nothing; + /* + * Default max early data is a fully loaded single record. Could be split + * across multiple records in practice + */ + ret->max_early_data = SSL3_RT_MAX_PLAIN_LENGTH; + return ret; err: SSLerr(SSL_F_SSL_CTX_NEW, ERR_R_MALLOC_FAILURE);