Allow client certificate lists > 16kB ("Douglas E. Engert" <deengert@anl.gov>.)

This commit is contained in:
Lutz Jänicke
2001-08-25 11:48:35 +00:00
parent 029fb8aa26
commit a04baf9b5c
2 changed files with 11 additions and 1 deletions

View File

@@ -537,7 +537,11 @@ static int ssl3_check_client_hello(SSL *s)
SSL3_ST_SR_CERT_A,
SSL3_ST_SR_CERT_B,
-1,
SSL3_RT_MAX_PLAIN_LENGTH,
#if defined(MSDOS) && !defined(WIN32)
1024*30, /* 30k max cert list :-) */
#else
1024*100, /* 100k max cert list :-) */
#endif
&ok);
if (!ok) return((int)n);
s->s3->tmp.reuse_message = 1;